4 ms·
Can anyone summarize how this works. Guessing Audacity is some C++ program. How did they take all the dependencies and make them work on browser, using WASM? Wh
by lfmunoz4 3y ago
Can anyone summarize how this works. Guessing Audacity is some C++ program. How did they take all the dependencies and make them work on browser, using WASM? What about the frontend? Is the UI just completely re-written?
- thomond 3y agoIt uses wxwidgets so they can just compile that to webassembly too.
- schemescape 3y agowxWidgets uses native controls, so just compiling to "WebAssembly" (I'm assuming it's compiled to WebAssembly, plus some JavaScript for DOM manipulation) was probably a significant amount of work. I'm actually curious how it was done! Edit: the previous submission had a helpful thread on this very topic: https://news.ycombinator.com/item?id=32689423 https://news.ycombinator.com/item?id=32689423
- xd1936 3y agoI think so. They use Emscripten to compile. https://github.com/ahilss/wavacity https://github.com/ahilss/wavacity Remarkable.
- tyingq 3y agoSee this: https://news.ycombinator.com/item?id=32610129 https://news.ycombinator.com/item?id=32610129