4 ms·
Rust no longer has green threads. Another good way to make things sequential is C#-style async/await, which is enough syntactic sugar over promises that everyt
by Rusky 11y ago
Rust no longer has green threads.
Another good way to make things sequential is C#-style async/await, which is enough syntactic sugar over promises that everything looks sequential again.
- rdtsc 11y agoIt has regular threads but with appropriate data race safety guarantees. So that won't help in context when large number of concurrent contexts are happening, but perhaps it should first become a bottleneck and then solved, because it might just be good enough.