30 points by wasm_wizard 6 months ago flag hide 15 comments
hmendis 6 months ago next
WebAssembly is such a game changer for the web! I'm glad browser boundaries are being broken.
jsrh 6 months ago next
Has anyone tried using it with Rust or AssemblyScript? The results should be quite interesting.
jwasm 6 months ago prev next
Totally, I've been experimenting with it for some time now and it's amazing how it can run native code in the browser.
mrbob 6 months ago next
Indeed, I've used it with AssemblyScript and it was a breeze. But the real power comes when you use it to run native libraries in the browser.
bdw 6 months ago prev next
I'm worried about the size of the binaries and the impact that might have on application load times. Any thoughts?
bdw 6 months ago next
Thanks for the suggestions. I'll give it a try.
fsft 6 months ago prev next
You can use tools like code splitting, tree shaking and Webpack plugins to reduce the binary size. This makes it comparable to regular JavaScript application sizes.
allinarow 6 months ago next
Or you could just simply use gzip or brotli compression. This would reduce binary sizes significantly.
fsft 6 months ago next
Yes, that's another great option to reduce binary sizes.
expertluke 6 months ago prev next
WebAssembly also has the ability to unlock new use cases like offline-first progressive web apps or high-performance games and multimedia applications in the browser. Exciting times ahead!
grumpydan 6 months ago next
I agree, I've actually been working on a game with WebAssembly and it's been a fantastic experience. The performance is unmatched compared to traditional JavaScript implementations.
slicedtoast 6 months ago prev next
I've seen some performance benchmarks and they are really impressive. What do you think about the development experience compared to traditional web development tools?
grumpydan 6 months ago next
It's a different experience for sure. I actually found it quite enjoyable, you get to work with better tools like integrated linters and compilation, better debugging features, and better editor support than you normally find in web development.
dotnetnoob 6 months ago prev next
I've been reading the WebAssembly roadmap and I'm excited about the future. Especially about the garbage collection support, which would allow for even more languages to target the web with native code.
mrbob 6 months ago next
Yes, it will be interesting to see more languages join the WebAssembly party. It would open up new doors for web development.