Hacker GitHub

← All repos

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

Mentions per year 13 mentions · busiest year 2016 (6)
20082026
  1. …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
  2. …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]
  3. …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
  4. …a microcontroller. These both seem like good fits for event-based work. [1]: https://tokio.rs/ [2]: https://github.com/alexcrichton/futures-rs
  5. …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
  6. 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
  7. …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…
  8. I meant this one which I saw mentioned recently: https://github.com/alexcrichton/futures-rs
  9. https://github.com/alexcrichton/futures-rs/tree/master/futur...
    comment by steveklabnik · 2016-08-13 · in Zero-cost futures in Rust
  10. …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
  11. …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
  12. …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