4 ms·
No. GC access is a feature that they may possibly add at some undisclosed point in the future. (Just like it was with asm.js via Object Types IIRC) but it's not
by bobajeff 10y ago
No. GC access is a feature that they may possibly add at some undisclosed point in the future. (Just like it was with asm.js via Object Types IIRC) but it's not an explicit design consideration.
No where does it say that it's intended to be a universal bytecode.
- vesinisa 10y agoNot exactly sure what is meant with "universal web bytecode", but a binary VM code supported by all major browsers sounds like one. There's a whole Wiki page dedicated to GC: https://github.com/WebAssembly/design/blob/master/GC.md https://github.com/WebAssembly/design/blob/master/GC.md Sounds like they aim to implement only GC primitives to allow emulating a wide variety of different VMs.
- bobajeff 10y agoAt some point in the "future [unicorn icon]" sure. But the design today is around the porting of C and C++ apps the web. The feature you're talking about is meant for integrating with the browser. It could allow emulating a variety of VM's but that's not a promise or stated goal.