A Work-stealing Runtime for Rust - Aaron Toddair.mozilla.org1 points·by samnardoni·13 lat temu·0 comments
samnardoni·8 lat temu·discussWell, yes, that's true. But my point was that they aren't going to change the legacy nav data structure.
samnardoni·8 lat temu·discussHaving a pointer to a stack variable is fine, as long as the stack variable lives longer than the closure.
samnardoni·9 lat temu·discussYou can do all that with JS too. Wasm adds nothing extra. It's perfectly sensible to imagine wasm applications targeting the DOM (which it can do via JS, and will do natively in later releases) just like JS applications do now.
samnardoni·12 lat temu·discussRust uses LLVM, which does all the optimisation. Go generates the machine code itself and its optimisation is pretty weak compared to LLVM.
samnardoni·12 lat temu·discussWhy not profile and see where the time is actually going? Slow JSON parsing? Slow I/O?