Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Rust async isn't quite "seamless" (no async in traits) but getting there. Albeit if "seamless" is what you care about, you can always use threads - the overhead is negligible for typical workloads. That's what Go does under the hood; it just uses threads.


I think there's been a miscommunication.

What I mean is that what you do in rust using async/await is done in Go by default for every function and function call. There is no distinction. _there are only async methods in go_ and that is what I want.

In other languages, like rust, there is a big ecosystem divide between libraries that are async and those which encourage you to use blocking calls and threading.


Have you looked at elixir? It's pretty close to async everywhere, though dramatically different than Go I think.


I've used it, and it's great! However, as I've written in a sibling comment, it's nowhere near as performant without using c-libraries. Which make the schedulers' effectiveness nastier (same in go if you use cgo).




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: