News for hackers. Stuff that matters.
Re:Making WebAssembly a first-class language on the Web by eqrion on Wednesday March 11, 2026 @12:57PM (#47338099)
I agree that a lot of the tooling is still early days. There has also been a lot of churn as the wasm component spec has changed. We personally have a goal that in most cases web developers won't need to write WIT and can just use Web API's as if they were a library. But it's early days.
Re:Making WebAssembly a first-class language on the Web by davexunit on Wednesday March 11, 2026 @02:05PM (#47339012)
I am excited by the prospect of booting Wasm binaries without any JS glue, but when I've looked at the documentation for the component model and WIT it says that resources are references passed using a borrow checking model. That would be a serious downgrade compared to the GC-managed reference passing I can do today with Wasm GC. Do you know if there are any plans to resolve this mismatch?
Re:Making WebAssembly a first-class language on the Web by bloppe on Thursday March 12, 2026 @08:27PM (#47359201)
Relevant: https://github.com/WebAssembly/component-model/issues/525

In my experience people are often disappointed by the shared-nothing architecture of the component model. I guess that shared-nothing architecture makes it impossible to properly share GC objects across component boundaries. But they can still be shared across core module boundaries.

Re:Making WebAssembly a first-class language on the Web by bvisness on Friday March 13, 2026 @07:01PM (#47371156)
A lot of the time I think you just won’t want to use multiple components. It’s nice to be able to compose them together, I guess, but in general it seems to me that a toolchain will typically just want to generate a single big component so that everything can interact without limits internally.
Re:Making WebAssembly a first-class language on the Web by j45 on Wednesday March 11, 2026 @03:55PM (#47340441)
The tooling has been in it's early days for a long time. As quickly as that can improve, so will the uptake. The technology itself is quite capable.
Re:Making WebAssembly a first-class language on the Web by elestor on Thursday March 12, 2026 @11:35AM (#47352303)
What do you mean by churn in this context?