samnardoni·8 anni fa·discussWell, yes, that's true. But my point was that they aren't going to change the legacy nav data structure.
samnardoni·8 anni fa·discussHaving a pointer to a stack variable is fine, as long as the stack variable lives longer than the closure.
samnardoni·9 anni fa·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 anni fa·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 anni fa·discussWhy not profile and see where the time is actually going? Slow JSON parsing? Slow I/O?