Here is something to play at the weekend and beyon...
# webassembly
b
Here is something to play at the weekend and beyond 😉 Have fun! https://x.com/bashorov/status/2032611452213743656
👍 7
K 7
kodee loving 3
💯 3
kodee happy 2
c
Very cool! I'll be experimenting with this! Out of interest how do you find the documentation? I've been putting off tackling the component model because its phase 1 and theres no formal spec
j
While the specs haven't been finalized yet, what is there in terms of documentation is really good. There are still some things that are done more by convention than by explicit standardization - for example, the legacy function name mangling that most implementations use right now. But even there, there are efforts for standardization. And as always, reading other implementations is the best spec for a prototype like this ^^
❤️ 2
e
Finally, thank you! I'll have to find a couple days to experiment with VS Code WASM, to see whether it works. https://github.com/microsoft/vscode-wasm
🔥 1
If anyone wants to check it out by themselves, see https://code.visualstudio.com/blogs/2024/05/08/wasm
b
@CharlieTap for mangling rules check out this document.
❤️ 1
General introduction into Component Model — https://component-model.bytecodealliance.org/
j
for mangling rules check out this document.
Just to note, I found that the version of wasmtime I was using didn't find functions when they were mangled using this new mangling, I had to use the legacy one for now ^^