Skip to content

Latest commit

 

History

History
166 lines (129 loc) · 52.6 KB

2023-Web to Desktop framework comparison.md

File metadata and controls

166 lines (129 loc) · 52.6 KB

Web to Desktop framework comparison

This repository was made to create an objective comparison of multiple framework that grant us to "transform" our web app to desktop application formats.

Table Of Content

Major characteristics

| | Electron | NW.JS | Tauri | NodeGui | Neutralino | Wails | Flutter | .Net MAUI | | :--------------------------------: | :---------------------------------------------------------------------------------------------------------------------------------: | :-----------------------------------------------------------------------------------------------------------------------------------: | :----------------------------------------------------------------------------------------------: | :----------------------------------------------------------------------------------------------------------------------: | :------------------------------------------------------------------------------------: | :----------------------------------------------------------------------------: | :---------------------------------------------------------------------------------: | :----------------------------------------------------------------------------------------------------------------------------------: | ------ | | Github stars | 107k | 39.6k | 62.6k | 8.4k | 6.6k | 15.4k | 152.5k | 18.8k | 18.8k | | Forks | 14.6k | 4k | 1.7k | 0.3k | 0.3k | 0.7k | 25.2k | 1.3k | 1.3k | | Creation date | 2013 | 2011 | 2019 | 2019 | 2018 | 2019 | 2018 | 2020 | | Last Update | 4/2023 | 4/2023 | 4/2023 | 4/2023 | 4/2023 | 4/2023 | 4/2023 | 4/2023 | 4/2023 | | Framework Language | C++, JS, Objective-C, Python | C++ | Rust | C++ | C++ | Go | C, C++, Dart | C# | | Usage Language - Back | JS, C++ | JS, C++ | Rust | JS, C++ | JS, C++ | Go | Dart | C# | | Usage Language - Front | HTML, CSS, JS | HTML, CSS, JS | HTML, CSS, JS | HTML, CSS, JS | HTML, CSS, JS | HTML, CSS, JS | Dart | C# | | License | MIT | MIT | MIT | MIT | MIT | MIT | BSD 3-Clause | MIT | | Developer Dependencies | Node.js, Electron NPM Package | Node.js, NW.JS SDK | C++ Compiler, Node.js, Rustc, Cargo | Cmake, make, Node.js, NodeGUI NPM Package | Node.js, Neu NPM Package | Go 1.18+, Node 15+, Wails | Flutter SDK, Visual Studio 2019 / Clang | .Net SDK, Visual Studio (optional), WebView2 (optional), Xcode (optional) | | User Dependencies | None | None | None | None | None | None | None | None | | Dependencies / modules support | npm & node.js native addons | npm & node.js native addons | cargo (back), npm (front) | npm & node.js native addons | ❌ | Gomod (back), npm (front) | pub.dev | NuGet | | Engine | Chromium | Webkit, Chromium | WRY (WebKitGTK for Linux, WebKit for MacOS, Webview2 for Windows) | Qt | WebkitGTK+ | Webkit | Flutter engine | .NET MAUI | | Integrated updater ? | Official | Community | Official | No | Official | Planned | No, but there are community solutions | No | | Automated Tests | Standard node.js tests (back-end) or Webdriver/Playwright (UI) | Standard node.js tests (back-end) or Webdriver(UI) | Cargo (back-end) or Webdriver (UI) | ? | ? | ? | Integrated | Standard C# tests (back-end), no official solution for UI |

Operating systems support

Electron NW.JS Tauri NodeGui Neutralino Wails Flutter .Net MAUI
Developement Environment Windows ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️
MacOS ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️
Linux ✔️1 ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️
Target Environment Windows ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️
MacOS ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️
Linux ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ Soon
Android Requested Soon2 Requested ✔️ ✔️
iOS In progress2 Requested ✔️ ✔️
tvOS ✔️
Web ✔️3 ✔️

1: Linux 32 Bit support dropped
2: https://github.com/tauri-apps/tauri#platforms
3: Uses modes to generate web apps

Benchmarks

See benchmarks.json to get more informations about following data.

Note: These benchmarks are done on Github CI, there are measures to have measurements more accurates (e.g. multiple runs), but it will never exactly be accurate, as it totally depends on system load and resources. You should read these tables as comparision between frameworks on a same OS/Arch/App with a margin of error.

01-empty-app

See source in benchmark/01-empty-app folder.

Build size

Electron NW.JS Tauri NodeGui Neutralino Wails Flutter .Net MAUI .Net MAUI w/ Vue
Windows (x64) ≈236MB ≈334MB ≈1MB ≈171MB ≈2MB ≈8MB ? N/A1 N/A2
Windows (x86) ≈210MB ≈301MB ? ? ? ? ? N/A1 N/A2
Windows (ARM64) ≈237MB Requested ? ? ? ? ? N/A1 N/A2
MacOS (x64) ≈376MB ≈508MB ≈3MB ? ≈1MB ≈7MB ? N/A1 N/A2
MacOS (arm64) ≈356MB ? ? ? ? ? ? N/A1 N/A2
Linux (x64) ≈240MB ≈442MB ≈4MB ≈75MB ≈1MB ≈6MB ? N/A1 N/A2
Linux (x86) ? ≈441MB ? ? ? ? ? N/A1 N/A2
Linux (ARMv7l) ≈176MB Requested ? ? ? ? ? N/A1 N/A2
Linux (ARM64) ≈245MB Requested ? ? ≈1MB ? ? N/A1 N/A2

Build time

Electron NW.JS Tauri NodeGui Neutralino Wails Flutter .Net MAUI .Net MAUI w/ Vue
Windows (x64) ≈6052ms ≈54217ms ≈370160ms ≈19369ms ≈866ms ≈15084ms ? N/A1 N/A2
Windows (x86) ≈6052ms ≈54217ms ? ? ? ? ? N/A1 N/A2
Windows (ARM64) ≈6052ms Requested ? ? ? ? ? N/A1 N/A2
MacOS (x64) ≈9225ms ≈54217ms ≈218289ms ? ≈908ms ≈69468ms ? N/A1 N/A2
MacOS (arm64) ≈9225ms ? ? ? ? ? ? N/A1 N/A2
Linux (x64) ≈2629ms ≈54217ms ≈308455ms ≈9626ms ≈908ms ≈34591ms ? N/A1 N/A2
Linux (x86) ? ≈54217ms ? ? ? ? ? N/A1 N/A2
Linux (ARMv7l) ≈2629ms Requested ? ? ? ? ? N/A1 N/A2
Linux (ARM64) ≈2629ms Requested ? ? ≈908ms ? ? N/A1 N/A2

Memory Usage

Electron NW.JS Tauri NodeGui Neutralino Wails Flutter .Net MAUI .Net MAUI w/ Vue
Windows (x64) ≈67MB (Debug) => ≈88MB (Release) ≈102MB (Debug) => ≈40MB (Release) ≈41MB (Debug) => ≈25MB (Release) ≈123MB (Debug) ≈69MB (Debug) ≈49MB (Debug) => ≈28MB (Release) ≈274MB (Debug) N/A1 N/A2
MacOS (x64) ≈66MB (Debug) => ≈65MB (Release) ≈53MB (Debug) => ≈82MB (Release) ≈50MB (Debug) => ≈29MB (Release) ≈107MB (Debug) ≈77MB (Debug) => ≈28MB (Release) ≈65MB (Debug) => ≈32MB (Release) ≈186MB (Debug) N/A1 N/A2
Linux (x64) ≈166MB (Debug) => ≈165MB (Release) ≈96MB (Debug) ≈116MB (Debug) => ≈83MB (Release) ≈163MB (Debug) ≈198MB (Debug) => ≈216MB (Release) ≈220MB (Debug) => ≈195MB (Release) ≈399MB (Debug) N/A1 N/A2

Start duration

Electron NW.JS Tauri NodeGui Neutralino Wails Flutter .Net MAUI .Net MAUI w/ Vue
Windows (x64) ≈2578ms (Debug) => ≈454ms (Release) ≈1081ms (Release) ≈5093ms (Debug) => ≈545ms (Release) ? ? ≈19275ms (Debug) => ≈1279ms (Release) ? N/A1 N/A2
MacOS (x64) ≈2021ms (Debug) => ≈889ms (Release) ≈1594ms (Release) ≈5757ms (Debug) => ≈767ms (Release) ? ≈2416ms (Debug) => ≈893ms (Release) ≈11690ms (Debug) => ≈950ms (Release) ? N/A1 N/A2
Linux (x64) ≈705ms (Debug) => ≈356ms (Release) ? ≈36834ms (Debug) ? ≈1638ms (Debug) => ≈450ms (Release) ≈4471ms (Debug) => ≈372ms (Release) ? N/A1 N/A2

1: Benchmark WIP
2: Benchmark WIP

02-empty-app-frameless

See source in benchmark/02-empty-app-frameless folder.

Build size

Electron NW.JS Tauri NodeGui Neutralino Wails Flutter .Net MAUI .Net MAUI w/ Vue
Windows (x64) ≈236MB ≈334MB ≈1MB ≈171MB ≈2MB ≈8MB N/A1 N/A2 N/A3
Windows (x86) ≈210MB ≈301MB ? ? ? ? N/A1 N/A2 N/A3
Windows (ARM64) ≈237MB Requested ? ? ? ? N/A1 N/A2 N/A3
MacOS (x64) ≈376MB ≈508MB ≈3MB ? ≈1MB ≈7MB N/A1 N/A2 N/A3
MacOS (arm64) ≈356MB ? ? ? ? ? N/A1 N/A2 N/A3
Linux (x64) ≈240MB ≈442MB ≈4MB ≈75MB ≈1MB ≈6MB N/A1 N/A2 N/A3
Linux (x86) ? ≈441MB ? ? ? ? N/A1 N/A2 N/A3
Linux (ARMv7l) ≈176MB Requested ? ? ? ? N/A1 N/A2 N/A3
Linux (ARM64) ≈245MB Requested ? ? ≈1MB ? N/A1 N/A2 N/A3

Build time

Electron NW.JS Tauri NodeGui Neutralino Wails Flutter .Net MAUI .Net MAUI w/ Vue
Windows (x64) ≈6226ms ≈31104ms ≈389105ms ≈19515ms ≈643ms ≈14378ms N/A1 N/A2 N/A3
Windows (x86) ≈6226ms ≈31104ms ? ? ? ? N/A1 N/A2 N/A3
Windows (ARM64) ≈6226ms Requested ? ? ? ? N/A1 N/A2 N/A3
MacOS (x64) ≈17150ms ≈31104ms ≈265327ms ? ≈1091ms ≈72964ms N/A1 N/A2 N/A3
MacOS (arm64) ≈17150ms ? ? ? ? ? N/A1 N/A2 N/A3
Linux (x64) ≈3249ms ≈31104ms ≈378130ms ≈12380ms ≈1091ms ≈46073ms N/A1 N/A2 N/A3
Linux (x86) ? ≈31104ms ? ? ? ? N/A1 N/A2 N/A3
Linux (ARMv7l) ≈3249ms Requested ? ? ? ? N/A1 N/A2 N/A3
Linux (ARM64) ≈3249ms Requested ? ? ≈1091ms ? N/A1 N/A2 N/A3

Memory Usage

Electron NW.JS Tauri NodeGui Neutralino Wails Flutter .Net MAUI .Net MAUI w/ Vue
Windows (x64) ≈66MB (Debug) => ≈86MB (Release) ≈78MB (Debug) => ≈51MB (Release) ≈42MB (Debug) => ≈23MB (Release) ≈115MB (Debug) ≈60MB (Debug) ≈48MB (Debug) => ≈28MB (Release) N/A1 N/A2 N/A3
MacOS (x64) ≈68MB (Debug) => ≈64MB (Release) ≈88MB (Debug) => ≈80MB (Release) ≈50MB (Debug) => ≈27MB (Release) ≈114MB (Debug) ≈71MB (Debug) => ≈27MB (Release) ≈66MB (Debug) => ≈30MB (Release) N/A1 N/A2 N/A3
Linux (x64) ≈163MB (Debug) => ≈163MB (Release) ≈90MB (Debug) ≈109MB (Debug) => ≈82MB (Release) ≈159MB (Debug) ≈197MB (Debug) => ≈214MB (Release) ≈219MB (Debug) => ≈195MB (Release) N/A1 N/A2 N/A3

Start duration

Electron NW.JS Tauri NodeGui Neutralino Wails Flutter .Net MAUI .Net MAUI w/ Vue
Windows (x64) ≈2496ms (Debug) => ≈422ms (Release) ≈1067ms (Release) ≈5073ms (Debug) => ≈509ms (Release) ≈10963ms (Debug) ? ≈19271ms (Debug) => ≈1270ms (Release) N/A1 N/A2 N/A3
MacOS (x64) ≈1987ms (Debug) => ≈1267ms (Release) ≈1775ms (Release) ≈6046ms (Debug) => ≈863ms (Release) ? ≈3550ms (Debug) => ≈1241ms (Release) ≈9553ms (Debug) => ≈898ms (Release) N/A1 N/A2 N/A3
Linux (x64) ≈806ms (Debug) => ≈415ms (Release) ? ≈42518ms (Debug) ? ≈2111ms (Debug) => ≈626ms (Release) ≈5208ms (Debug) => ≈509ms (Release) N/A1 N/A2 N/A3

1: Frameless mode not supported yet
2: Frameless mode not working
3: Frameless mode not working

Future content

See Issues and Pull requests. You can participate by proposing new issues, of filling them !

Contributors

List of contributors to this repository