The resulting modules are small and very optimized.
The resulting modules are small and very optimized.
There is a wasm32-unknown-emscripten target but I think that's basically on life support if not outright deprecated. It was only really a stop-gap until native tooling like wasm_bindgen got fleshed out.
https://rustwasm.github.io/docs/book/
If you're targeting some WASI-based platform then it's more straightforward, since no JS glue is needed. CF have a quick example
Not outside the browser, with WASI instead of a Javascript context.
I guess my fundamental question is, what does your comment add to the conversation? It seems like you're not even disagreeing with the fundamental premise; you just felt the need to diminish Zig simply because someone tried to acknowledge that it was useful for something.
You say it yourself, this is about the C and C++ toolchain offered by clang, ergo not Zig.
I only reply on hype regarding Zig, like the previous remark, or it being "safe", when it is as safe as Modula-2 already was in 1978.
Which while miles beyond C, it wasn't without flaws.
As for what adds to the conversation, I guess taming a bit the hype, regardless of the language.
If you are so attentive, you will have remarked that I spare no language, all get their share.
Finally, if you don't like my comments, page down is your friend.