logoalt Hacker News

anttiharju • today at 8:04 AM • 1 reply • view on HN

Hah, pretty neat!

I recently discovered that one can apparently distribute Rust projects on npm by compiling to wasm. action-validator used to do this. Had been thinking about something like this.


Replies

combobyte • today at 8:50 AM

Doesn't that kind of defeat the purpose? Compiling to WASM is going to erase any speed advantage you'd get from native Rust.

➕ show 1 reply