The first Nostr client I built, Blockcore Notes, utilized Web Workers, which allows you to do non-blocking background workers simply with JS. It's pretty sweet to work with. WASM has some use case of course, but the dream did not pan out. I was excited for WASI to replace Node.js and execution on edge compute, but never panned out.
Login to reply
Replies (1)
Yes web workers are great for that but languages like Rust & C++ are so much faster. If you have something that is slow to compute in JS, WASM will be faster.