#WebAssembly Components
1 messages · Page 1 of 1 (latest)
I just learned about the component model a few days ago. I had no idea there was even a way to use it in a host environment yet. Very cool
So I've been thinking about the component model a lot lately, happy to answer questions the best that I'm able...
I think you might be able to do it behind a flag in wasmtime now as well
i guess the other thing that I'd point out is... jco is a tool for generating component specific javascript functions that allow you to call into the webassembly component
if you're familiar with the WIT IDL, a substantive part of what the component model does is encode wit into binary and use it to compose modules and help facilitate imports and exports. I thought a wit parser might be useful and started making one that I've linked to before around here
Got a lot going on with work right now, but I think that that project and the blog post together could help a lot with zig support for component model.
if anybody wants to contribute to any of this, would love to get some more folks involved
Basic question: Is the component model more analogous to processes in an OS, or linking libraries together into one process space?
Very cool! I'm considering looking more into the component model for a project idea I've got, so it's very interesting to see someone working on Zig tooling for it!