Comments (6)
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.
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:
- What does writing a select look like?
- Do channels block or are they constantly spinning?
- 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.
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.
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.
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.
This is done. I've spread the word that chan
is dead! Long live crossbeam-channel
!
from chan.
Related Issues (19)
- remove hyper dev dependency HOT 4
- Possible memory leak in `tick` HOT 2
- [feature request] re-expose try_recv() HOT 8
- How to chan_select over multiple chans that will terminate? HOT 1
- Using chan_select! requires values to be 'static HOT 3
- Add timeout-able methods HOT 1
- doesn't seem to work with `fork()` HOT 2
- Select integration with std lib mpsc api HOT 4
- Allow chan_select to generate no-op None variants HOT 2
- Sender::send(t) -> Result<(), SendError> HOT 16
- Deadlock with select-send and select-recv HOT 2
- Broadcast to all consumers HOT 4
- Return value from `chan_select!` expression HOT 2
- chan::async() conflicts with Rust 2018 Edition HOT 6
- I think it's butter to return a Result for invalid add HOT 5
- Relicense under dual MIT/Apache-2.0 HOT 8
- Async channel is blocking program HOT 9
- All Notifier subscriptions made in select.rs appear to be leaked HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chan.