3 ms·
> ..by embedding a home computer emulator with a Dear ImGui debugger UI, compiled to WASM+WebGL running in a webview panel... People wonder why their Electron
by mortallywounded 3y ago
> ..by embedding a home computer emulator with a Dear ImGui debugger UI, compiled to WASM+WebGL running in a webview panel...
People wonder why their Electron apps use 16GB of memory.
- flohofwoe 3y ago...and yet there's no realistic way to implement such an extension for any other IDE without resorting to per-platform-compiled and potentially unsafe native code :) The embedded emulator including the Dear ImGui debugging UI compiled to WASM is just around 700 KBytes, runs on all platforms (even in the VSCode browser version) and is safely sandboxed, that same code compiled to a native executable on macOS is 847 KBytes, doesn't run on any other OS without compiling another version, and would be blocked to run anyway because it is potentially unsafe.
- WhereIsTheTruth 3y agoTurns out VScode is indeed a web browser in disguise, who would have thought!
- WhereIsTheTruth 3y agoDownvoters, educate yourself a little bit: https://en.wikipedia.org/wiki/Electron_(software_framework) https://en.wikipedia.org/wiki/Electron_(software_framework)