samnardoni·8 tahun yang lalu·discussWell, yes, that's true. But my point was that they aren't going to change the legacy nav data structure.
samnardoni·8 tahun yang lalu·discussHaving a pointer to a stack variable is fine, as long as the stack variable lives longer than the closure.
samnardoni·9 tahun yang lalu·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 tahun yang lalu·discussThe point is that wasm doesn't change this; wasm won't make it 'worse'.
samnardoni·10 tahun yang lalu·discussYou can write it both ways. t.method() is the same as T::method(t).