mstdn.io is one of the many independent Mastodon servers you can use to participate in the fediverse.

Administered by:

Server stats:

368
active users

I'm following this tutorial to re-learn programming in using the latest coolness of wasm-bindgen, wasm-pack, and... NO emscripten! 😎

rustwasm.github.io/book/game-o

rustwasm.github.ioHello, World! - Rust and WebAssembly

Of course, my brand new hello world app starts off with 8 high severity vulnerabilities 😂

After an `npm audit fix --force`, I'm left with only 6 high vulns 👍

Bernie

...and it broke my development setup. I can't test my "hello world" any more 😟

Is really so bad, or I'm having bad luck?

After manually updating all the devDependencies in package.json. the webpack-dev-server starts again, but now it's refusing to load my code due to a BREAKING CHANGE.

Is npm a new type of DLL hell?? Luckily, there are clear instructions to solve the problem...

All right, my hello-wasm works!

Time spent writing WebAssembly code in Rust: 1 min
Time spent fighting npm: 1 hour