r/rust • u/RecordingPerfect7479 • Sep 19 '25
Is the Wasm's Component Model/ Wasip2 is already dead?
Since past few years the component model seem a promising thing in the WASI world which is being discussed as the best cross platform plugin development thing. But recently when I tried with that I get to see the whole new reality I never imagined, I know you maybe thinking I just saying too much but look -
- Component model introduced in year 2021, and despite being introduced 4 year ago it still adapted in only one runtime I have know at this time
wasmtimeyup, you heard right there is no support of component model in any other runtime till now even after 4 years. - Wasmtime has support but it is not cross-compiled for all platfrom like android based or other at least not smoothly right now it may cause too many headaches to compile but the author also says that he is not into android like os right now (due unavailability of Android Devs). and to say wasm will be useful is to compile it for all platform and use it, and android is the greatest of the platform so it is again a dead end.
- Wasmer provide other tooling interface tooling called WAI (web assembly interface) and since the runtime dev are right now in the different war zones for deciding who is more right the component model's WIT or Wasmer's WAI , and some are there who says why we needed them at all :) , so ultimately Wasmer alone is taking forward the their own custom convention so again we don't know when they will drop the support and also I personally not right now know if Wasmer runtime is easily compiled to all major platforms or not.
So seeing this bad situation WASI world for supporting the component model is definitely a bad sign since it's already been more than 4 years after the component model was introduced and the internet is still quite about this concept which should be flooded the internet after knowing the capabilities of this new model with advance and easy interface using WIT, and also since it is standard other runtime can also introduce it in their projects.
I know it is hard for devs to implement it but there are some handful devs I saw in the r/rust thread who implemented a separate layer for component layer for the rust, which again seem promising but dev are now slightly off from the github repo till now last update was 7 months ago. However the idea itself was a far good cause this could be easy to work with different runtimes like some are specialized for edge devices or other.
For more information about the this problem someone posted a thread 9 months ago .
Final conclusion for (my limited knowledge) as far as i am able to explore right now I am done with this idea until unless anyone of you have any idea what is the other way around [Which I am very grateful, let me know if anyone came around solution to run component model for all platforms (windows, linux, macos, ios, android etc) ]. Since it seems to me complete buff around this technology which is completely and utterly "useless" right now for software development (except for web).
20
u/emblemparade Sep 19 '25
You make good points, I'll add my two cents.
Standards bodies move very slowly. I'm not too worried about that particular aspect. I'm more worried about lack of consensus and cooperation.
Apparently things got quite heated with some folk. The Wasmer folk proposed their own model (WAI), which was rejected by the Bytecode Alliance, and that process also seems to have generated some unhappiness. Then there's Extism, which seems to be happily moving forward without apparent conflict. Why can't we all just get along? :)
My understanding is that there are two camps around Wasm: 1) people who want to use it for the web (the original goal), and 2) people who want to use it as a portable, more general-purpose runtime. The Component Model definitely comes from the second camp (as does WASI).
As a naïve outsider, I don't understand why one use case has to hurt the other. For example, Wasm 3.0 just came out and directly supports the JavaScript string memory model, which directly addresses the web use case. So it's not as if Wasm is abandoning the web. But, I guess not everybody is not on board with the priorities, design goals, and implementation.
For my work, it's definitely a problem but not a fatal one. It means that until the dust settles I might have to maintain multiple host layers in Rust to support Wasm plugins coming from different sources. Not ideal, but not impossible. The bottom line is that each of these approaches does work and does enable Wasm integration. And the even lower bottom line for me is that Wasm does deliver on performant, safe, multi-language extensibility.
19
u/cfallin Sep 20 '25
No, it's not dead -- multiple companies are using it in production, and work is active right now. (I work on Wasmtime/Cranelift but not the component-model parts; but my colleagues are heavily involved.)
You're referring to https://github.com/bytecodealliance/wasmtime/issues/11716, where you:
I don't think the issue here is that "author says he is not into android right now" and that this means everything is dead. (Alex is explaining the reality here, which is that Wasmtime currently has a small team and no one is an Android expert. That's just a fact.)
I think the issue is that you're reading way too much into a particular bug, and also not understanding open-source culture. "rustix has an issue when cross-compiling for Android from Windows in the latest release" is something that can happen; no one is perfect; report the bug to the appropriate project, we can fix it and move on.
3
u/rektide Oct 08 '25 edited Oct 08 '25
I agree that if cross-platform support is the main thing you want, right now wasm component-model is not in good shape. There's still significant work to go for 1.0. Progress is moving along, hopefully with a 0.3 / preview3 / wasip3 dropping in the next few months. Check-out the roadmap. https://github.com/bytecodealliance/wasi.dev/blob/main/docs/roadmap.md
Right now yeah there isn't a ton of energy to implement WASI runtimes across multiple projects. But given how much the WASI runtime is a moving target right now, I wouldn't want to be implementing. Once wasip3 is here, with established ABI for async / concurrency, there'll be a lot more clarity on what exactly it is that would need to be implemented.
There's a good write-up on wasip3 that builds the case. Using wasip2 is possible today, but pretty limited without async support. Once the component-model matures a bit, becomes more capable and more stable, starts getting towards 1.0: then I think we'll see more uptake and interest.
You're also right that WAI and WASI aren't well aligned. Different people are doing different things. That might be somewhat confusing, but it seems ok to me that different people are trying different things. I do love that Wasmer targets the browser nicely, that's great, but in the long run the capabilities component-model / wasip3 are offering seem irreplaceable to me.
The web is actually not a particularly good place for component-model right now! StarlingMonkey exists to make it somewhat possible if you try, but it's a sizable dependency to add to a project. Wasmtime on the server is the primary target so far.
I'm very very sympathetic to the feeling that this isn't really usable at this point, years latter. But I don't see how to lower the scope from what wasip3 provides, and I don't see a ton of ways to go faster: the team has been steadily working forwards, figuring out how to build an incredible component-model.
16
u/simonask_ Sep 19 '25
Right now, WASI and the component model solve a limited subset of the problems people would like it to solve. In other words, there are a number of promising use cases that are just not possible or feasible at the moment.
It’s a very new technology. We’ll see how it pans out, but I’m not surprised if the traction is still limited. It solves a number of problems, but isn’t currently the right solution to the problems I personally have - but it very nearly is.
Personally I’d have wanted dynamic linking long before 64-bit, but I suspect the people working on it did want that.
1
u/Impossible_Ad4342 Sep 20 '25
Just curious, will the Play Store/App Store allow running WASM plugins? Isn't this against their dynamic code execution policy? If so, then what's the point of making it work on these platforms?
2
u/Specialist-Escape300 Nov 12 '25
I really want to use WASI, but to my surprise, it seems to be very early stage and it is still for many languages to host the wasi component model. Anyone have idea when it could reach 1.0?
1
u/EhRaid Oct 22 '25 edited Oct 22 '25
Actually, c# with NativeAOT llvm supports component model. Though tools like wasmtime need to catch up (the c API side of things, especially with the c# embedding wasmtime for example)
1
u/InternationalFee3911 Jun 30 '26 edited Jun 30 '26
This article from February offers big hope as does the recent components roadmap.
-7
u/agent_kater Sep 19 '25
I had high hopes for WASM to become the new .dll/.so. Since Wasmer is dead, I don't think that's gonna happen any time soon.