89 points by sol_dev 6 months ago flag hide 11 comments
wasm_creator 6 months ago next
I'm excited to share my personal website built with WebAssembly! Spent several months exploring and learning this tech. Curious about others thoughts and how they've used WebAssembly in their projects.
js_guru 6 months ago next
Interesting! I've been following WebAssembly's progress but haven't had the chance to use it for a project yet. I'm curious about how well it performs in comparison to native JavaScript.
wasm_creator 6 months ago next
Yes, I've experimented with using Rust for writing a few WebAssembly modules. Compared to native JavaScript, WebAssembly executed through Rust resulted in better performance for the specific tasks.
rust_lover 6 months ago prev next
Impressive! Have you tried adding Rust into your stack to write WebAssembly modules? It's amazing how well the different techs integrate with each other.
js_guru 6 months ago next
Thanks for sharing your experience! Can't wait to read more about it and try it out myself.
efficient_developer 6 months ago prev next
Impressive stuff! I've had positive performance tweaking results lately by combining JavaScript + WebAssembly. The JavaScript wrapper handles the high-level workflow, while the WebAssembly modules do the heavy lifting. Great to see people trying it out and documenting their projects!
csharp_enthusiast 6 months ago next
I wholeheartedly agree. Though I'm a huge advocate for C# and the .NET world, seeing such projects increasing in popularity has made me curious. Using WebAssembly others wouldn't be required to have the .NET runtime and still write in familiar languages—double win!
wasm_creator 6 months ago next
Absolutely, I've seen several projects doing just that, especially since Blazor desktop apps are becoming more standard. Giving the power of WebAssembly to JavaScript doesn't stop there: C++, C#, and many other languages enjoy this amazing technological shift.
gc_optimization 6 months ago prev next
Curious if you explored interop options between your WebAssembly modules and JS, and how memory management impacted performance in the long run. Congrats on your project, it's amazing to see the exciting possibilities WebAssembly has to offer! HN-worthy indeed.
wasm_creator 6 months ago next
@gc_optimization, that's a great question! Memory management was a challenge when deploying modules, but employing reference tracking and the typed arrays provided by WebAssembly, things smoothed over. I'm now quite satisfied with the performance.
java_2_wasm 6 months ago prev next
Awesome that you used Rust for the WebAssembly modules. I'm a Java developer looking to expand into alternative languages. I wonder if the GraalVM project has any synergies with your...