3 ms·
> There are lightweight electron alternatives Are there? I know of alternatives, but none that are particularly 'lightweight.' I started a new project based
by topspin 6y ago
> There are lightweight electron alternatives
Are there? I know of alternatives, but none that are particularly 'lightweight.'
I started a new project based on gtk-rs for exactly the same reasons as you.
- jtxx 6y agoI was thinking of sciter (5mb) and another similar crate that I can't remember the name for
- topspin 6y agoThat's about one order of magnitude smaller than Electron. Good to know. My gtk-rs project is intended to replace a small, self contained win32 application. The application is 132KB. So although 5MB is small it's an oom larger than my benchmark. However, my gtk-rs hello, world GUI application is 14.6MB in release mode and that does not include the GTK DLLs that are also needed. Yikes. That's crazy. Perhaps 5MB is a reasonable price to pay for cross platform GUI. Not taking 7+ seconds to build a GUI hello, world would be nice as well.
- lights0123 6y agoThere's also https://tauri.studio https://tauri.studio, which uses Chromium Edge on Windows and WebKit on Linux and macOS. You can get ~2MB binaries with it. (that's a Rust-specific framework, but the underlying webview library is just a C library)