5 ms·
Even what IS tokio for us casual observers would be nice to know! Futures I can infer, but tokio? I have no clue and the article doesn't help.
by marktangotango 10y ago
Even what IS tokio for us casual observers would be nice to know! Futures I can infer, but tokio? I have no clue and the article doesn't help.
- sdflkd 10y agohttps://tokio.rs/blog/tokio-0-1/ https://tokio.rs/blog/tokio-0-1/ Might help illuminate some things?
- steveklabnik 10y agoThis post was intended for Tokio users, who would know what it is already. The author even said "this probably isn't relevant to HN" to me. The main website shows this off, and it's the project's blog. I don't think every single post on a development blog needs to re-hash the whole project.
- moosingin3space 10y agoWhenever I see a blog post like this, if I don't know what the project is, I click the "Home" link to see if the homepage offers a more detailed description. I'd hope Tokio's is (relatively) clear in the detail it provides, is it not?
- zanny 10y agoTokio is "do that network transfer or disk read without freezing the program". Except that takes a specific tokio package for each operation rather than being a kitchen sink of everything in one crate.
- infogulch 10y agoOh so tokio is just the generic interface for any "do thing x without freezing", where the actual x comes from whatever implementation you include.
- simcop2387 10y agoThat's my understanding. It's a generic framework/interface for doing any kind of IO task without freezing the program.