I hate Tokio. This is a piece of shit that just makes developers angry instead of getting things done. This is what made me hate Rust. Struggling to make a Hello World, yes, after that Tokio reform, is not normal. I would never consider Rust ever again to write servers.
What's are you struggling with in particular? I feel like the Tokio devs would very much like to hear feedback if you're struggling with anything!
-
-
I would give anything to have garbage collection (yes) instead of having to use Rc, Arc, RefCell and clone() and boxes everywhere when using futures. That’s annoying, counterproductive and ugly as fuck.
-
Ah yeah, that makes sense! From my understanding this will all get a lot better once the async/await stuff lands. Probably no more boxing of stuff for most cases! - but that's still a few months out last I heard. Sorry this isn't working out alright for you :(
- 5 more replies
New conversation -
-
-
Right now, I’m even able to accept connections with hyper and tokio 0.1: https://github.com/jedisct1/rust-doh/blob/5a2529f4af605996c1880d050e6b56f1fd714e50/src/main.rs#L187-L195 … “'cannot call `execute` unless the thread is already in the context of a call to `run`’”. I have no idea what that means. There is a “run”.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
Error messages are worse than C++ vomit of errors in templates. When I have to use Tokio I have to compile after every single line change to hopefully catch one that could have caused an error. Productivity couldn’t be any lower.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.