|
|
|
|
|
by gwbas1c
1482 days ago
|
|
I made the mistake of trying to learn Rust while doing async programming. IMO, when it comes to concurrent, it's a matter of picking your poison: Threaded Rust: No overhead of a GC, but overhead of context switches and multiple stacks. NodeJS: No overhead of context switches and multiple stacks, but the overhead of a highly optimized GC. (And I suspect that the GC can do tricks like run when the process is waiting on all tasks.) Some real data would be very interesting. |
|
Some numbers: https://web-frameworks-benchmark.netlify.app/result?l=rust,g...