Hello wasm-pack
hacks.mozilla.org
Hello wasm-pack
1–10 of 160 posts
Re: Hello wasm-pack
#2Re: Hello wasm-pack
#3Please no. JavaScript's a bit cancerous - we should be erring away from it rather than encouraging it.
Re: Hello wasm-pack
#4Re: Hello wasm-pack
#5> As Lin Clark emphasizes in her article about Rust and WebAssembly: the goal of WebAssembly is not to replace JavaScript, but to be an awesome tool to use with JavaScript. Please no. JavaScript's a bit cancerous - we should be erring away from it rather than encouraging it.
Re: Hello wasm-pack
#6This is great. Wasm really seems to be picking up steam. Any examples of a Rust crate that has already been published to the npm registry?
(You can see those here: https://www.npmjs.com/search?q=hello-wasm)
Re: Hello wasm-pack
#7> As Lin Clark emphasizes in her article about Rust and WebAssembly: the goal of WebAssembly is not to replace JavaScript, but to be an awesome tool to use with JavaScript. Please no. JavaScript's a bit cancerous - we should be erring away from it rather than encouraging it.
Re: Hello wasm-pack
#8It's great to see WASM taking off! In this context, see also Blazor, which runs C#/.NET code on WASM. https://github.com/aspnet/blazor
One interesting thing about wasm is the difference between libraries and apps; Rust’s small binary size here can make it useful for this infrastructure work, but for languages that need to bring along the runtime, it’s much more complex. This is one reason why we’re pursuing stuff like wasm-pack.
I’m glad to see more and more languages compiling to wasm though! Exciting times.
Re: Hello wasm-pack
#9> As Lin Clark emphasizes in her article about Rust and WebAssembly: the goal of WebAssembly is not to replace JavaScript, but to be an awesome tool to use with JavaScript. Please no. JavaScript's a bit cancerous - we should be erring away from it rather than encouraging it.
What makes you say so? JavaScript in itself is not a bad language at all, and many programmers genuinely like it.
Then again, I suppose that's a fault of the type of programmers attracted to it than it is the language itself.
Re: Hello wasm-pack
#10> As Lin Clark emphasizes in her article about Rust and WebAssembly: the goal of WebAssembly is not to replace JavaScript, but to be an awesome tool to use with JavaScript. Please no. JavaScript's a bit cancerous - we should be erring away from it rather than encouraging it.
You are living in the past tbh. There are tools which make augment the language and it is literally taking over the world now!