20 ms·
Can someone point out a known web page/service that uses WebAssembly?
by martin_drapeau 4y ago
Can someone point out a known web page/service that uses WebAssembly?
- meheleventyone 4y agoGoogle Meet uses it for a bunch of processing. Figma uses it. We're using it right now to drive a new physics integration.
- neriymus 4y agoJust curious what your thought are regarding this (https://zaplib.com/docs/blog_post_mortem.html https://zaplib.com/docs/blog_post_mortem.html) if you have seen it. Does implementing a physics engine in Rust and complied in wasm provide you guys with quite a big performance boost? Asking because I've considered doing so for my team, but have reservations about the performance increase.
- meheleventyone 4y agoWe’re not implementing in Rust but taking an existing piece of middleware (Bullet) and using it. Performance wise it’d be an apples to oranges comparison but our general understanding from benchmarks, our own personal experiments and blogs like the one you posted there is not to expect miracles but more consistency and less footguns (e.g. megamorphic behaviour). This is another good summary: https://ianjk.com/webassembly-vs-javascript/ https://ianjk.com/webassembly-vs-javascript/ I would say there is hope when SIMD is supported across major browsers if your workload will make use of it. Just waiting on Safari. And there might well be more performance to eek out of the JIT compilation.
- neriymus 4y agoThanks! This was useful
- capableweb 4y agoFigma is probably the biggest web application that uses it for the main feature they offer (the entire in-browser editor is C++ compiled to Wasm). You can read more about how they use it here: https://www.figma.com/blog/webassembly-cut-figmas-load-time-by-3x/ https://www.figma.com/blog/webassembly-cut-figmas-load-time-... > Because our product is written in C++, which can easily be compiled into WebAssembly, Figma is a perfect demonstration of this new format’s power. If you haven’t used Figma before, it’s a browser-based interface design tool with a powerful 2D WebGL rendering engine that supports very large documents.
- martin_drapeau 4y agoOk, this is a great example. I will check that out!
- Extigy 4y agoYou can run Python directly in the browser via Pyodide: https://pyodide.org/en/stable/ https://pyodide.org/en/stable/
- jphilip 4y agoMozilla uses WebAssembly in it's offline translation extension. Here's a web-page demonstrating the same stuff: - https://mozilla.github.io/translate/ https://mozilla.github.io/translate/ These are neural models that are compressed and optimized to run on user's CPU. I write some of the code which repurposes the underlying (C++) library for extension's needs, all of which gets compiled via emscripten to WebAssembly for use in the browser. Previous discussion on HN: https://news.ycombinator.com/item?id=31596888 https://news.ycombinator.com/item?id=31596888
- azakai 4y agoWhenever you use Zoom or Meet in a browser you're using WebAssembly. Lots of other sites do too, but you just need to open the devtools to notice it. Other big examples: Unity games, Photoshop, Figma, Google Earth, etc.
- astlouis44 4y agoUnreal Engine games on the web soon as well :) https://venturebeat.com/2022/05/12/wonder-interactives-the-immersive-web-will-play-unreal-4-games-on-the-web/ https://venturebeat.com/2022/05/12/wonder-interactives-the-i...
- pjmlp 4y agoAdobe Photoshop and Autodesk for example.