30 points by wasm_wizard 1 year ago flag hide 15 comments
hmendis 1 year ago next
WebAssembly is such a game changer for the web! I'm glad browser boundaries are being broken.
jsrh 1 year ago next
Has anyone tried using it with Rust or AssemblyScript? The results should be quite interesting.
jwasm 1 year 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 1 year 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 1 year 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 1 year ago next
Thanks for the suggestions. I'll give it a try.
fsft 1 year 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 1 year ago next
Or you could just simply use gzip or brotli compression. This would reduce binary sizes significantly.
fsft 1 year ago next
Yes, that's another great option to reduce binary sizes.
expertluke 1 year 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 1 year 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 1 year 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 1 year 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 1 year 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 1 year ago next
Yes, it will be interesting to see more languages join the WebAssembly party. It would open up new doors for web development.