Hacker News new | past | comments | ask | show | jobs | submit login

> ..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.




...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.


Turns out VScode is indeed a web browser in disguise, who would have thought!


Downvoters, educate yourself a little bit: https://en.wikipedia.org/wiki/Electron_(software_framework)




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: