tokio-rs/mio
View on GitHub ↗ ★ 7,127 Rust
Metal I/O library for Rust.
34 mentions on Hacker News by 30 people: 4 stories, 30 comments · first 2014-09-16 · latest 2026-08-22
20082026
-
…effectively stable since, among other reasons, Microsoft uses Tokio in some of its products. [1] https://github.com/tokio-rs/mio/blob/master/src/sys/windows/...
comment by sunshowers · 2026-08-22 · in hdiutil is deprecated in macOS 27 Golden Gate -
…s://github.com/coding-horror/basic-computer-games/blob/e... doesn't use that approach. The example at https://github.com/tokio-rs/mio/blob/master/tests/tcp.rs is a nice one // Wait for our TCP stream to connect 'outer: loop {…
comment by eesmith · 2022-09-04 · in Python multi-level break and continue -
…are included depending on a "configuration conditional check" #[cfg(target_os = "linux")] macro. https://github.com/tokio-rs/mio/blob/c6b5f13adf67483d927b176...
comment by markjgx · 2022-08-17 · in Ask HN: Has any Rust developer moved to embedded device programming? -
…source code [1], which uses epoll on Linux [2], and which encapsulates epoll in a safe way. [1] https://github.com/tokio-rs/mio [2] https://tokio-rs.github.io/mio/doc/mio/struct.Poll.html#impl...
comment by adwn · 2022-05-01 · in New C++ features in GCC 12 -
…system-specific APIs or use the MIO library, which is a low-level platform abstraction for that: https://github.com/tokio-rs/mio
comment by GolDDranks · 2021-12-09 · in Monoio – A thread-per-core Rust async runtime with io_uring -
…issues and PRs: https://github.com/golang/go/issues/31908 https://github.com/libuv/libuv/pull/2322 https://github.com/tokio-rs/mio/issues/923 https://gitlab.gnome.org/GNOME/glib/-/issues/2084 https://github.com/libevent/libevent/issues/1019
comment by zxzax · 2021-06-17 · in Io_uring is not an event system -
…it in the future.) This issue might be relevant (mio is internally used by tokio for async I/O): https://github.com/tokio-rs/mio/issues/923
comment by dathinab · 2020-11-26 · in How io_uring and eBPF Will Revolutionize Programming in Linux -
▲ 2
Mio: Metal IO Library for Ruststory by UkiahSmith · 2019-09-10 · 0 comments
-
The bug is here, if you want to follow it: https://github.com/tokio-rs/mio/issues/923
comment by jcranmer · 2019-05-06 · in Efficient IO with io_uring [pdf] -
If you need less abstractions over protocols, you might look into [mio]( https://github.com/carllerche/mio ).
comment by bugmen0t · 2019-01-22 · in Asynchronous Programming in Rust book -
▲ 2
MIO I/O library for Ruststory by it · 2017-10-03 · 0 comments
-
You will probably be interested in mio [1] then. [1]: https://github.com/carllerche/mio
comment by squiguy7 · 2017-08-28 · in Rust – Coroutines support merged -
…to complaining about GC not being part of Rust core :) Metal IO is an awesome library as well: https://github.com/carllerche/mio
comment by Cieplak · 2017-07-20 · in Announcing Rust 1.19 -
…[2]: https://crates.io/crates/libc [3]: https://crates.io/crates/winapi [4]: https://github.com/carllerche/mio [5]: https://tokio.rs/
comment by erickt · 2017-01-18 · in Rust vs. Go -
Rust has had https://github.com/carllerche/mio for two years now, longer than Rust itself has been stable. tokio is just a higher-level, nicer, API. ESR knows this. It was there in the comments of his previous issue. Yet he chooses to link…
comment by Manishearth · 2017-01-18 · in Rust vs. Go -
…about thread-safety, and a comment thread on mio suggests that it may not be safe to do this ( https://github.com/carllerche/mio/issues/163#issuecomment-98... - one person says it's not safe, other people say it is safe with epoll, it's…
comment by eridius · 2016-10-11 · in Poll on macOS 10.12 is broken -
…your code after each line and get better insight into why the code was written the way it was. https://github.com/carllerche/mio/blob/getting-started/doc/g...
comment by bschwindHN · 2016-09-02 · in The Lost Art of Typing Shit by Hand -
…Caddy is an HTTP/2 web server that uses HTTPS automatically and by default via Let’s Encrypt Mio - https://github.com/carllerche/mio Mio is an asynchronous I/O library written in Rust. Dnssec - https://www.getdnsapi.net/ This project is…
comment by GFischer · 2016-08-05 · in Mozilla Awards $585k to Nine Open Source Projects -
…as possible), and there's multiple nicer abstractions written on top of it. Check this: https://github.com/carllerche/mio#libraries
comment by GolDDranks · 2016-05-26 · in The Path to Rust -
▲ 6
Show HN: Rust chat client (with GUI) and server on Mac and FreeBSD using WebSocketsstory by zkirill · 2016-03-08 · 2 comments
-
…model of concurrent programming. I haven't used mio/mioco (the current async I/O solution for Rust: https://github.com/carllerche/mio/ , https://github.com/dpc/mioco ), but I've heard good things about it. They seem to interact with safety…
comment by Manishearth · 2016-03-03 · in Mozilla's Connected Devices Innovation Process: Four Projects Move Forward -
…e.g. Alex Crichton (core team member) has been adding windows support to mio himself. I mean... https://github.com/carllerche/mio/graphs/contributors?from=2... Could be worse, could be better? >Why is this particular pet feature any more…
comment by acconsta · 2015-09-10 · in Why Rust? [pdf] -
…). There is a Rust library called "mio" which provides a lot of the plumbing for such systems: https://github.com/carllerche/mio . The path forward is likely going to involve adding a way to build cheap state machines (call them generators…
comment by eddyb · 2015-07-04 · in Things Rust shipped without -
…that I've asked has had nothing but glowing praise for it (though it doesn't yet support Windows): https://github.com/carllerche/mio
comment by kibwen · 2015-06-25 · in Why is Stack not Cabal? -
…You can also look at `mio`, the asynchronous IO library that's popular in Rust: https://github.com/carllerche/mio/blob/master/src/notify.rs#...
comment by seppo0010 · 2015-06-19 · in Redis re-implemented in Rust -
▲ 3
Metal IO library for Ruststory by dolftax · 2015-05-25 · 0 comments
-
…those as other parts of the ecosystem that aren't yet mature. There's work on non-blocking IO at https://github.com/carllerche/mio , which is looking like one of the more promising approaches, as well as…
comment by lambda · 2015-05-15 · in Announcing Rust 1.0 -
…and it will be left to outside implementors to experiment with green threading libraries (see https://github.com/carllerche/mio for one example of such). One of the consequences of this change is that the `std::task` module has been…
comment by kibwen · 2014-12-19 · in Narrowing the notion of a runtime in Rust -
…etc... [0]: https://github.com/hyperium/hyper [1]: https://github.com/servo/servo/pull/4198 [2]: https://github.com/carllerche/mio
comment by TheHydroImpulse · 2014-12-17 · in A tiling window manager written in Rust -
…a few nice-to-use libraries[1] that are thin layers above the low-level C functionality). [0]: https://github.com/carllerche/mio [1]: https://github.com/rust-lang/rust/wiki/Computer-Graphics-and...
comment by dbaupp · 2014-11-07 · in Rust and Go -
…is "close to the metal" you can easily use any of the non-blocking system calls in glibc. Mio ( https://github.com/carllerche/mio#features ) seems to be doing just that.
comment by rubiquity · 2014-10-19 · in Rust vs. C++ Benchmark Game -
…for systems programming and "server side programming" is just a subset of systems programming. 0 - https://github.com/carllerche/mio
comment by rubiquity · 2014-10-19 · in Rust vs. C++ Benchmark Game -
I found this... https://github.com/carllerche/mio No windows support yet, but planned.
comment by deskamess · 2014-10-15 · in Rustful – A RESTful web framework for Rust -
…- a library for using a pidfile for mutual exclusion across processes * https://github.com/carllerche/mio - a low-level IO library that attempts to implement an epoll-like interface across multiple platforms
comment by wycats · 2014-09-16 · in The Road to Rust 1.0