Code Monkey home page Code Monkey logo

Comments (6)

BurntSushi avatar BurntSushi commented on May 31, 2024 1

For anyone coming here: my intent is still to EOL chan and update the README, but I'm behind in variety of book-keeping work.

from chan.

BurntSushi avatar BurntSushi commented on May 31, 2024

I haven't tried it yet, but yeah, when I do, if I think it sufficiently replaces this crate then I would be happy to retire it and point folks to crossbeam-channel. I suspect my three biggest concerns are this:

  1. What does writing a select look like?
  2. Do channels block or are they constantly spinning?
  3. I will probably want a replacement for chan-signal, although I suspect that would be easy enough to build on crossbeam-channel.

I'm on mobile, so I haven't done my due diligence on the above concerns.

from chan.

BurntSushi avatar BurntSushi commented on May 31, 2024

Okay, I just read the crate docs and I'm super impressed. It seems all of my concerns are satisfied. I'll give it a try in my cmail and fst commands, and assuming all goes well, I'll EOL chan.

from chan.

 avatar commented on May 31, 2024

I'll give it a try in my cmail and fst commands

Please do! If you have any feedback, let me know. :)

So far I've written a fairly extensive suite of unit tests and managed to switch Servo from mpsc to crossbeam-channel without any problems. However, the crate was released only yesterday, so right now I want as much real-world testing as possible so that we uncover and fix all potential bugs (if there are any).

from chan.

 avatar commented on May 31, 2024

Just published version 0.2.0 of crossbeam-channel:
https://docs.rs/crossbeam-channel/0.2.0/crossbeam_channel/

The interface of these two crates is now almost identical.

from chan.

BurntSushi avatar BurntSushi commented on May 31, 2024

This is done. I've spread the word that chan is dead! Long live crossbeam-channel!

from chan.

Related Issues (19)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.