Re:Async Rust doesn't have to be hard
by ssokolow on Friday June 03, 2022 @05:22PM
(#31613797)
The problem is, Go uses a concurrency model (stackful coroutines/fibers) that was all the rage in the 90s (to the point where the Windows APIs have vestigial support for it) and then got abandoned by everyone except them for reasons that are still applicable.
Here's a paper on the history and flaws that was written to argue against adding them to C++:
"Fibers under the magnifying glass" by Gor Nishanov
TL;DR: They don't play nicely with FFI and that's a big part of why Go is its own little semi-closed ecosystem... the polar opposite of Rust, where things like PyO3, Helix, Neon, cbindgen, etc. are a huge competitive advantage.
Here's a paper on the history and flaws that was written to argue against adding them to C++:
"Fibers under the magnifying glass" by Gor Nishanov
https://www.open-std.org/JTC1/SC22/WG21/docs/papers/2018/p13...
TL;DR: They don't play nicely with FFI and that's a big part of why Go is its own little semi-closed ecosystem... the polar opposite of Rust, where things like PyO3, Helix, Neon, cbindgen, etc. are a huge competitive advantage.