Giter VIP home page Giter VIP logo

anhgeeky / web-to-desktop-framework-comparison Goto Github PK

View Code? Open in Web Editor NEW

This project forked from elanis/web-to-desktop-framework-comparison

0.0 0.0 0.0 127.82 MB

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

License: MIT License

Shell 1.23% JavaScript 36.31% C++ 18.91% C 1.11% Go 1.74% C# 6.33% Rust 1.15% Dart 0.86% TypeScript 4.08% CSS 2.02% Swift 0.59% HTML 3.26% CMake 12.10% Vue 10.32%

web-to-desktop-framework-comparison's Introduction

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 110.5k 40k 73.4k 8.7k 7.1k 20.8k 159.6k 21.2k
Forks 15.5k 4k 2.2k 0.3k 0.3k 1k 26.8k 1.6k
Creation date 2013 2011 2019 2019 2018 2019 2018 2020
Last Update 2/2024 1/2024 2/2024 11/2023 2/2024 1/2024 2/2024 2/2024
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+ WebKit2gtk on Linux, Webview2 on Windows and WkWebview on Mac Flutter engine .NET MAUI

Features

Electron NW.JS Tauri NodeGui Neutralino Wails Flutter .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
WebGL Support Yes Yes Yes ? Yes Yes Yes Yes, but not on all flavors

Front-end frameworks/technologies

Electron NW.JS Tauri NodeGui Neutralino Wails Flutter .Net MAUI
Angular Yes Yes Yes, official via Vite Yes, community Yes Yes No No
NextJS ? ? Yes, official ? ? Yes No No
Preact Yes Yes Yes, official via Vite ? Yes Yes No No
Qwik Yes Yes Yes, official ? Yes Yes No No
React Yes Yes Yes, official via Vite Yes, official but EOL Yes Yes No No
Svelte Yes Yes Yes, official via sveltekit or Vite Yes, official Yes Yes No No
Vue Yes Yes Yes, official via Vite Yes, official Yes Yes No No
Vite Yes Yes Yes, official ? Yes Yes No No

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) ≈263MB ≈354MB ≈1MB ≈171MB ≈2MB ≈8MB ? N/A1 N/A2
Windows (x86) ≈224MB ≈318MB ? ? ? ? ? N/A1 N/A2
Windows (ARM64) ≈267MB Requested ? ? ? ? ? N/A1 N/A2
MacOS (x64) ≈413MB ≈531MB ≈3MB ? ≈1MB ≈7MB ? N/A1 N/A2
MacOS (arm64) ≈393MB ? ? ? ? ? ? N/A1 N/A2
Linux (x64) ≈264MB ≈474MB ≈4MB ≈75MB ≈1MB ≈7MB ? N/A1 N/A2
Linux (x86) ? ≈473MB ? ? ? ? ? N/A1 N/A2
Linux (ARMv7l) ≈200MB Requested ? ? ? ? ? N/A1 N/A2
Linux (ARM64) ≈270MB Requested ? ? ≈1MB ? ? N/A1 N/A2

Build time

Electron NW.JS Tauri NodeGui Neutralino Wails Flutter .Net MAUI .Net MAUI w/ Vue
Windows (x64) ≈3190ms ≈28329ms ≈189364ms ≈9925ms ≈866ms ≈7047ms ? N/A1 N/A2
Windows (x86) ≈3190ms ≈28329ms ? ? ? ? ? N/A1 N/A2
Windows (ARM64) ≈3190ms Requested ? ? ? ? ? N/A1 N/A2
MacOS (x64) ≈4476ms ≈28329ms ≈241889ms ? ≈882ms ≈79623ms ? N/A1 N/A2
MacOS (arm64) ≈4476ms ? ? ? ? ? ? N/A1 N/A2
Linux (x64) ≈1688ms ≈28329ms ≈211496ms ≈7045ms ≈882ms ≈29149ms ? N/A1 N/A2
Linux (x86) ? ≈28329ms ? ? ? ? ? N/A1 N/A2
Linux (ARMv7l) ≈1688ms Requested ? ? ? ? ? N/A1 N/A2
Linux (ARM64) ≈1688ms Requested ? ? ≈882ms ? ? N/A1 N/A2

Memory Usage - (Average of runs) Median of used memory for main process and children ones)

Electron NW.JS Tauri NodeGui Neutralino Wails Flutter .Net MAUI .Net MAUI w/ Vue
Windows (x64) ≈389MB (Debug) => ≈245MB (Release) ≈134MB (Debug) => ≈280MB (Release) ≈136MB (Debug) => ≈31MB (Release) ≈185MB (Debug) ≈99MB (Debug) ≈193MB (Debug) => ≈32MB (Release) ≈837MB (Debug) N/A1 N/A2
MacOS (x64) ≈306MB (Debug) => ≈205MB (Release) ≈345MB (Debug) => ≈255MB (Release) ≈145MB (Debug) => ≈31MB (Release) ≈151MB (Debug) ≈193MB (Debug) => ≈30MB (Release) ≈198MB (Debug) => ≈34MB (Release) ≈196MB (Debug) N/A1 N/A2
Linux (x64) ≈702MB (Debug) => ≈572MB (Release) ≈178MB (Debug) ≈321MB (Debug) => ≈94MB (Release) ≈313MB (Debug) ≈1GB (Debug) => ≈918MB (Release) ≈667MB (Debug) => ≈431MB (Release) ≈26MB (Debug) N/A1 N/A2

Memory Usage - (Average of runs) Median of difference between system measured free memory before execution and during execution)

Electron NW.JS Tauri NodeGui Neutralino Wails Flutter .Net MAUI .Net MAUI w/ Vue
Windows (x64) ≈197MB (Debug) => ≈98MB (Release) ≈90MB (Debug) => ≈144MB (Release) ≈229MB (Debug) => ≈141MB (Release) ≈140MB (Debug) ≈83MB (Debug) ≈270MB (Debug) => ≈150MB (Release) ≈747MB (Debug) N/A1 N/A2
MacOS (x64) ≈149MB (Debug) => ≈118MB (Release) ≈202MB (Debug) => ≈99MB (Release) ≈-83609600B (Debug) => ≈31MB (Release) ≈93MB (Debug) ≈133MB (Debug) => ≈32MB (Release) ≈170MB (Debug) => ≈37MB (Release) ≈188MB (Debug) N/A1 N/A2
Linux (x64) ≈154MB (Debug) => ≈92MB (Release) ≈70MB (Debug) ≈110MB (Debug) => ≈19MB (Release) ≈117MB (Debug) ≈532MB (Debug) => ≈470MB (Release) ≈284MB (Debug) => ≈164MB (Release) ≈17MB (Debug) N/A1 N/A2

Start duration

Electron NW.JS Tauri NodeGui Neutralino Wails Flutter .Net MAUI .Net MAUI w/ Vue
Windows (x64) ≈1175ms (Debug) => ≈221ms (Release) ≈511ms (Release) ≈2870ms (Debug) => ≈407ms (Release) ? ? ≈8954ms (Debug) => ≈379ms (Release) ? N/A1 N/A2
MacOS (x64) ≈1637ms (Debug) => ≈767ms (Release) ≈2331ms (Release) ≈6148ms (Debug) => ≈782ms (Release) ? ≈2862ms (Debug) => ≈772ms (Release) ≈9160ms (Debug) => ≈805ms (Release) ? N/A1 N/A2
Linux (x64) ≈578ms (Debug) => ≈258ms (Release) ? ≈34637ms (Debug) ? ≈1505ms (Debug) => ≈314ms (Release) ≈3263ms (Debug) => ≈239ms (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) ≈263MB ≈354MB ≈1MB ≈171MB ≈2MB ≈8MB N/A1 N/A2 N/A3
Windows (x86) ≈224MB ≈318MB ? ? ? ? N/A1 N/A2 N/A3
Windows (ARM64) ≈267MB Requested ? ? ? ? N/A1 N/A2 N/A3
MacOS (x64) ≈413MB ≈531MB ≈3MB ? ≈1MB ≈7MB N/A1 N/A2 N/A3
MacOS (arm64) ≈393MB ? ? ? ? ? N/A1 N/A2 N/A3
Linux (x64) ≈264MB ≈474MB ≈4MB ≈75MB ≈1MB ≈7MB N/A1 N/A2 N/A3
Linux (x86) ? ≈473MB ? ? ? ? N/A1 N/A2 N/A3
Linux (ARMv7l) ≈200MB Requested ? ? ? ? N/A1 N/A2 N/A3
Linux (ARM64) ≈270MB 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) ≈3252ms ≈15943ms ≈184457ms ≈9878ms ≈643ms ≈6979ms N/A1 N/A2 N/A3
Windows (x86) ≈3252ms ≈15943ms ? ? ? ? N/A1 N/A2 N/A3
Windows (ARM64) ≈3252ms Requested ? ? ? ? N/A1 N/A2 N/A3
MacOS (x64) ≈4872ms ≈15943ms ≈250954ms ? ≈981ms ≈58626ms N/A1 N/A2 N/A3
MacOS (arm64) ≈4872ms ? ? ? ? ? N/A1 N/A2 N/A3
Linux (x64) ≈1770ms ≈15943ms ≈218172ms ≈7275ms ≈981ms ≈30012ms N/A1 N/A2 N/A3
Linux (x86) ? ≈15943ms ? ? ? ? N/A1 N/A2 N/A3
Linux (ARMv7l) ≈1770ms Requested ? ? ? ? N/A1 N/A2 N/A3
Linux (ARM64) ≈1770ms Requested ? ? ≈981ms ? N/A1 N/A2 N/A3

Memory Usage - (Average of runs) Median of used memory for main process and children ones)

Electron NW.JS Tauri NodeGui Neutralino Wails Flutter .Net MAUI .Net MAUI w/ Vue
Windows (x64) ≈387MB (Debug) => ≈243MB (Release) ≈387MB (Debug) => ≈281MB (Release) ≈135MB (Debug) => ≈27MB (Release) ≈182MB (Debug) ≈83MB (Debug) ≈191MB (Debug) => ≈32MB (Release) N/A1 N/A2 N/A3
MacOS (x64) ≈309MB (Debug) => ≈205MB (Release) ≈136MB (Debug) => ≈280MB (Release) ≈148MB (Debug) => ≈30MB (Release) ≈171MB (Debug) ≈194MB (Debug) => ≈30MB (Release) ≈199MB (Debug) => ≈33MB (Release) N/A1 N/A2 N/A3
Linux (x64) ≈705MB (Debug) => ≈568MB (Release) ≈177MB (Debug) ≈322MB (Debug) => ≈94MB (Release) ≈314MB (Debug) ≈1GB (Debug) => ≈920MB (Release) ≈664MB (Debug) => ≈431MB (Release) N/A1 N/A2 N/A3

Memory Usage - (Average of runs) Median of difference between system measured free memory before execution and during execution)

Electron NW.JS Tauri NodeGui Neutralino Wails Flutter .Net MAUI .Net MAUI w/ Vue
Windows (x64) ≈192MB (Debug) => ≈87MB (Release) ≈222MB (Debug) => ≈151MB (Release) ≈229MB (Debug) => ≈140MB (Release) ≈132MB (Debug) ≈62MB (Debug) ≈269MB (Debug) => ≈151MB (Release) N/A1 N/A2 N/A3
MacOS (x64) ≈163MB (Debug) => ≈96MB (Release) ≈84MB (Debug) => ≈135MB (Release) ≈233MB (Debug) => ≈59MB (Release) ≈108MB (Debug) ≈118MB (Debug) => ≈90MB (Release) ≈202MB (Debug) => ≈47MB (Release) N/A1 N/A2 N/A3
Linux (x64) ≈153MB (Debug) => ≈88MB (Release) ≈76MB (Debug) ≈112MB (Debug) => ≈19MB (Release) ≈114MB (Debug) ≈573MB (Debug) => ≈474MB (Release) ≈279MB (Debug) => ≈162MB (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) ≈1170ms (Debug) => ≈218ms (Release) ≈502ms (Release) ≈2896ms (Debug) => ≈399ms (Release) ≈5160ms (Debug) ? ≈8886ms (Debug) => ≈377ms (Release) N/A1 N/A2 N/A3
MacOS (x64) ≈874ms (Debug) => ≈556ms (Release) ≈1271ms (Release) ≈6410ms (Debug) => ≈545ms (Release) ? ≈2639ms (Debug) => ≈581ms (Release) ≈8586ms (Debug) => ≈362ms (Release) N/A1 N/A2 N/A3
Linux (x64) ≈576ms (Debug) => ≈259ms (Release) ? ≈34951ms (Debug) ? ≈1600ms (Debug) => ≈336ms (Release) ≈3364ms (Debug) => ≈242ms (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

web-to-desktop-framework-comparison's People

Contributors

brooksvb avatar d3sox avatar dependabot[bot] avatar edwargix avatar elanis avatar mesteery avatar skimhugo avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.