rust-lang/futures-rs
View on GitHub ↗ ★ 5,941 Rust
Zero-cost asynchronous programming in Rust
13 mentions on Hacker News by 12 people: 1 story, 12 comments · first 2016-08-10 · latest 2019-10-14
20082026
-
…the helpers around the "FSM" aspect of things are already exposed as part of the `futures` crate: https://github.com/rust-lang-nursery/futures-rs/
comment by carllerche · 2019-10-14 · in Making the Tokio scheduler 10x faster -
…IO objects (file descriptors). But the behavior is pretty tricky. [1] describes the problem. [1] https://github.com/rust-lang-nursery/futures-rs/issues/1278
comment by Matthias247 · 2019-05-07 · in Efficient IO with io_uring [pdf] -
…ecosystem to mature around the futures API. [1] https://github.com/rust-lang/rfcs/pull/2592 [2] https://github.com/rust-lang-nursery/futures-rs/blob/master/... [3] https://crates.io/crates/futures-preview/0.3.0-alpha.10
comment by josephg · 2018-11-28 · in Rust 2018 survey results -
…a microcontroller. These both seem like good fits for event-based work. [1]: https://tokio.rs/ [2]: https://github.com/alexcrichton/futures-rs
comment by shepmaster · 2017-04-13 · in Ownership is Theft: Experiences Building an Embedded OS in Rust (2015) [pdf] -
…fashion is not going to be as fast as using plain sync code. Look at the wait() function: https://github.com/alexcrichton/futures-rs/blob/master/src/f... All this code IS overhead that wouldn't exist if the code was synchronous in the…
comment by fooyc · 2017-01-15 · in Announcing Tokio 0.1 -
Well, here's the actual wait method: https://github.com/alexcrichton/futures-rs/blob/master/src/f... Of course depending on your executor, the IO can be async or sync.
comment by pimeys · 2017-01-12 · in Announcing Tokio 0.1 -
…sockets, for example. For this, it looks like everyone is standardizing on futures and tokio: https://github.com/alexcrichton/futures-rs https://github.com/tokio-rs/tokio But it seems like you're most interested in Erlang-style actors with…
comment by ekidd · 2017-01-08 · in The Piston image library is now pure Rust -
I meant this one which I saw mentioned recently: https://github.com/alexcrichton/futures-rs
comment by shmerl · 2016-11-16 · in Rust and the Future of Systems Programming [video] -
https://github.com/alexcrichton/futures-rs/tree/master/futur...
comment by steveklabnik · 2016-08-13 · in Zero-cost futures in Rust -
…to intermix them. My understanding is, the idea is to put the blocking stuff in a threadpool with https://github.com/alexcrichton/futures-rs/tree/master/futur...
comment by steveklabnik · 2016-08-11 · in Zero-cost futures in Rust -
…Browsing through the futures version of the HTTP server, I had a hard time following along: https://github.com/alexcrichton/futures-rs/blob/master/futur... And it requires a bunch of helper code to go with it:…
comment by tomdale · 2016-08-11 · in Zero-cost futures in Rust -
…libraries in this space, I'm not sure the code is in a state where they're actually meaningful yet: https://github.com/alexcrichton/futures-rs/blob/master/futur...
comment by bascule · 2016-08-11 · in Zero-cost futures in Rust