3 ms·
Not mentioned in this article is one thing that goes very well with GC is async/await I am a async/await hater for personal Idiosyncratic style reasons that I
by worik 3y ago
Not mentioned in this article is one thing that goes very well with GC is async/await
I am a async/await hater for personal Idiosyncratic style reasons that I will not bore you with
I use it a lot in Type/Java script. Have done so in Dart. Works as it should
I have used it in Rust. IMO it is a disaster there. Shoehorning the sort of memory management required to use asyc/await with a multi threaded runtime is a hellscape
https://doc.rust-lang.org/std/pin/index.html https://doc.rust-lang.org/std/pin/index.html
- pkolaczk 3y agoYou don’t need pinning in regular async code in Rust. This is for library writers.