No releases or commits since Jan 2025. Is rustwasm shutting down? #4530
-
I've just used wasm-bindgen for the first time and made a working POC for file analysis with it. It's definitely nicer code than my emscriptem one. But now I've just realized commits stopped back in January. Is this tool being mothballed? |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments
-
IMO, the answer is In present, many WASM guys are shifting weight of contributions to WASM on workloads, such as embedded WASM or WASM on cloud. So wasm-bindgen, which has been focused on WASM/JS interaction, and was designed without latest WASI specifications in early days, is placed on a bit low priority target of the community. (But this is not a saying for the rustwasm community (ourselves), but for the WASM community itself). If you want to maintain a tool with the build target You can use wit-bindgen and WASI Preview 2 target for a new project. They are preffered in production use cases because WASI P2 can achieve app sandboxing with declarative permission granting via WIT. But if your code is focused on DOM manipluation, you maybe have to use |
Beta Was this translation helpful? Give feedback.
-
Thanks for the background community info Nomura-san. That's very helpful to me. As it happens the modules I am making at the moment are for web workers, no DOM involved. So it sounds like I'm in the target population of developers who eventually should/will/must port from the wasm-bindgen style to wt-bindgen. As I'm running these programs of mine in the browser it seems I should use jco as well. Is that right? |
Beta Was this translation helpful? Give feedback.
-
Because this is rustwasm community, I think that your question is out of scope here. There are many efforts with wasm-bindgen (ouside the rustwasm community) at present, and also I really rely on it in several projects (but not for production). Thanks: @CryZe |
Beta Was this translation helpful? Give feedback.
-
Thanks @g1eng I think I will keep on relying wasm-bindgen for a while too. The wrapping *.js produced from Hopefully it'll be obvious as to how to port to wit-bindgen before not too long. |
Beta Was this translation helpful? Give feedback.
-
For other readers of this Q&A, the TLDR seems to be:
|
Beta Was this translation helpful? Give feedback.
IMO, the answer is
no
(or not yet).In present, many WASM guys are shifting weight of contributions to WASM on workloads, such as embedded WASM or WASM on cloud. So wasm-bindgen, which has been focused on WASM/JS interaction, and was designed without latest WASI specifications in early days, is placed on a bit low priority target of the community. (But this is not a saying for the rustwasm community (ourselves), but for the WASM community itself). If you want to maintain a tool with the build target
wasm32-unknown-unknown
, the wasm-bindgen is a possible solution to do it.You can use wit-bindgen and WASI Preview 2 target for a new project. They are preffered in production use cases becaus…