Comment by zuzululu
12 hours ago
this is interesting , so i can turn electron into a native app now?
whats the use case for this , make it hard to reverse engineer my node projects?
12 hours ago
this is interesting , so i can turn electron into a native app now?
whats the use case for this , make it hard to reverse engineer my node projects?
Some of us don’t like Spotify, Slack, Discord, and a simple notes app taking 1-2GB of RAM each..
Still need the entire browser DOM, APIs, layout, renderers, etc outside of JS.
another use case is getting standalone self-contained binaries which are easier to ship.
other projects like claude code use something like `bun build --compile`[^1] for that, which instead of producing a small native binary just bundle the JS runtime into the executable.
[^1]: https://bun.com/docs/bundler/executables
This is a really important question. If true, it could end a lot of Electron wastefulness.
Don’t see how compiling Typescript changes how little Electron cares about the host OS in terms of UI and how it just ships Chromium in order to show any UI at all
Nothing more horrible than apps that "care about the host OS in terms of UI", thus looking different on every type of device I have to use for work.
Im 99% certain it cannot. This seems better suited to server side projects.
Deno is building a less-wasteful Electron style framework for native desktop apps