A Work-stealing Runtime for Rust - Aaron Toddair.mozilla.org1 points·by samnardoni·قبل 13 سنة·0 comments
samnardoni·قبل 8 سنوات·discussWell, yes, that's true. But my point was that they aren't going to change the legacy nav data structure.
samnardoni·قبل 8 سنوات·discussHaving a pointer to a stack variable is fine, as long as the stack variable lives longer than the closure.
samnardoni·قبل 9 سنوات·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·قبل 9 سنوات·discussThe point is that wasm doesn't change this; wasm won't make it 'worse'.
samnardoni·قبل 12 سنة·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 سنة·discussWhy not profile and see where the time is actually going? Slow JSON parsing? Slow I/O?