21 ms·
How does this compare to Tauri ? Edit: it looks like it leverages its own Webkit for the frontend, but then how is this more efficient than Electron ?
by 01walid 4y ago
How does this compare to Tauri ?
Edit: it looks like it leverages its own Webkit for the frontend, but then how is this more efficient than Electron ?
- stillicide 4y agoBuilding on top of a framework that bundles a Chromium should result in a smaller application than building on top of a framework that bundles a WebKit. As an example, compare Vivaldi (Chromium) and Orion (WebKit). Chromium has many more batteries included though, such as V8/Node.
- encryptluks2 4y agoI believe the right term here is WebView, which will use the OS's native browser framework to display the app. For Windows this would be Microsoft Edge WebView2 and for Linux webkit2gtk. I do believe Qt WebEngine (or Qt WebView) might be the better option for Linux though, although I'm guessing webkit2gtk is being used because of more readily available Go bindings.
- stillicide 4y agoYou’re wrong in your belief. We all know what a WebView is, but what is being discussed is bundling WebKit vs. bundling Chromium (like Electron does). A solution that bundles only a WebKit engine would be smaller than one that bundles a Chromium. What is your objection, specifically?
- campbellmorgan 4y agoThe key to it is that it uses the OS's webview (on Windows 10+ the new edge webview https://developer.microsoft.com/en-us/microsoft-edge/webview2/ https://developer.microsoft.com/en-us/microsoft-edge/webview...) which means that you're mostly not bundling the whole of chromium / webkit each time.
- mumphster 4y agoTauri does this as well, I use it for https://github.com/Ell/shortmon https://github.com/Ell/shortmon and get ~1-2 meg binaries with a react based ui
- deleted 4y ago[deleted]