3 ms·
Are subprojects intended to eventually make it into the main spec or do they remain standalone? GC, threads, atomics, component-model, interface-types... Im not
by rektide 5y ago
Are subprojects intended to eventually make it into the main spec or do they remain standalone? GC, threads, atomics, component-model, interface-types... Im not sure what to expect to eventually make it into this spec & what will continue developmemt semi-independently.
Personally https://github.com/WebAssembly/component-model/pull/23 https://github.com/WebAssembly/component-model/pull/23 feels like it marks the start of webassembly's first full era. We need interoperation, webassembly needs to really be embeddable, & only then can we really understand & explore what webassembly means to the world.
(Rust got an early start with wasm-bindgen, doing all the lifting on their side, but it's not reasonable & only semi-interoperable having each language rebuild that bindgen system & abingor itself... hence canonical abi & component-model.)
Edit: tux3 has a good comment linking the changelog, noting that indeed numberous specs have been integrated. https://news.ycombinator.com/item?id=31087610 https://news.ycombinator.com/item?id=31087610
Really excited for multiple table per module support! The idea of a capabilities based sort of system, where a module is handed a couple working sets of data as SharedArrayBuffers to work g communicate with, is quite compelling.
- the_duke 5y agoAlso take a look at wit-bindgen [1], which is basically a prototype for interface types and supports multiple languages. I agree we that interface types/components will be a game changer. And also that progress on all the important proposals (GC, interface types, linking, stack control, threads) has been painfully slow. [1] https://github.com/bytecodealliance/wit-bindgen https://github.com/bytecodealliance/wit-bindgen
- syrusakbary 5y agowit-bingen is great. For those that want to use wit-bindgen with Wasmer (tl;dr I work at Wasmer) here's the repo: https://github.com/wasmerio/wit-bindgen https://github.com/wasmerio/wit-bindgen
- richdougherty 5y agoThe whole list of proposals and where they're at is here: https://github.com/WebAssembly/proposals https://github.com/WebAssembly/proposals You can see that "interface types" is at "Phase 1 - Feature Proposal (CG)", so still early days. And there's a link to the proposal here, for people like me who don't know about it: https://github.com/WebAssembly/interface-types https://github.com/WebAssembly/interface-types