Git Product home page Git Product logo

cczw2010 / 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 1.0 0.0 31.71 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

HTML 3.65% JavaScript 6.67% Rust 4.03% Dart 1.62% CMake 24.18% C++ 39.20% C 2.23% Swift 1.22% TypeScript 3.94% CSS 0.72% C# 12.55%

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 Flutter .Net MAUI
Github stars 97k 38k 22k 7k 4k 130k 12k
Forks 13k 4k 0.5k 0.2k 0.2k 19k 0.5k
Creation date 2013 2011 2017 2019 2018 2018 2020
Last Update 2021 2021 2021 2021 2021 2021 2021
Framework Language C++, JS, Objective-C, Python C++ Rust C++ C++ C, C++, Dart C#
Usage Language - Back JS, C++ JS, C++ Rust JS, C++ JS, C++ Dart C#
Usage Language - Front HTML, CSS, JS HTML, CSS, JS HTML, CSS, JS HTML, CSS, JS HTML, CSS, JS Dart C#
License 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, Tauri Bundler Cmake, make, Node.js, NodeGUI NPM Package Node.js, Neu NPM Package Flutter SDK, Visual Studio 2019 / Clang .Net SDK, Visual Studio (optionnal), WebView2 (optionnal), Xcode (optionnal)
User Dependencies None None None None None None None
npm/yarn module support ✔️ ✔️ ✔️
Engine Chromium Webkit, Chromium WRY (WebKitGTK for Linux, WebKit for MacOS, Webview2 for Windows) Qt WebkitGTK+ Flutter engine .NET MAUI

Operating systems support

Electron NW.JS Tauri NodeGui Neutralino Flutter .Net MAUI
Developement Environment Windows ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️
MacOS ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️
Linux ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️
Target Environment Windows ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️
MacOS ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️
Linux ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ Soon
Android Requested Soon1 ✔️ ✔️
iOS In progress1 ✔️ ✔️
tvOS ✔️
Web ✔️2 ✔️

1: https://github.com/tauri-apps/tauri#platforms
2: Uses modes to generate web apps

Benchmarks

See Benchmark.txt to get more informations about following data.

01 - Empty app

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

Electron NW.JS Tauri NodeGui Neutralino Flutter .Net MAUI
Build size Windows (x64) 180MB 264MB 2.6MB 83.6MB 2MB 18MB 108MB
Windows (x86) 160MB 237MB ? 83.6MB 2MB 18MB ?
Windows (ARM64) 193MB Requested ? ? ? ? ?
MacOS ? 265MB ? ? 2MB ? ?
Linux (x64) 181MB 328MB 5.8MB ? 2MB 56.8MB ?
Linux (x86) 171MB 329MB ? ? 2MB ? ?
Linux (ARM64) 196MB Requested ? ? ? ? ?
Linux (ARMv7l) 128MB Requested ? ? ? ? ?
Android - - ? ? ? ? ?
iOS - - ? ? ? ? ?
tvOS - - - ? ? ? ?
Web - - - ? ? ? ?
Memory Usage Windows ≈58MB ≈67MB (Debug) / ≈63MB (Release) ≈59MB ≈44MB then ≈39MB ≈2.7MB ≈36.2MB (Debug) / ≈23.7MB (Release) ≈61.6MB (Debug) / ≈60.4MB (Release)
MacOS ? ? ? ? ? ? ?
Linux ? ? ? ? ? ? ?
Android - - ? ? ? ? ?
iOS - - ? ? ? ? ?
tvOS - - - ? ? ? ?
Web - - - ? ? ? ?
Start duration Windows ≈131ms ≈21ms (Debug) ≈121ms ≈103ms (Debug) ? ≈5.6ms ?
MacOS ? ? ? ? ? ? ?
Linux ? ? ? ? ? ? ?
Android - - ? ? ? ? ?
iOS - - ? ? ? ? ?
tvOS - - - ? ? ? ?
Web - - - ? ? ? ?

02 - Empty app (Headless)

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

Electron NW.JS Tauri NodeGui Neutralino Flutter .Net MAUI
Build size Windows (x64) 180MB 264MB 2.6MB 83.6MB 2MB N/A1 108MB
Windows (x86) 160MB 237MB ? 83.6MB 2MB N/A1 ?
Windows (ARM64) 193MB Requested ? ? ? N/A1 ?
MacOS ? 265MB ? ? ? N/A1 ?
Linux (x64) 181MB 328MB 5.8MB ? 2MB N/A1 ?
Linux (x86) 171MB 329MB ? ? 2MB N/A1 ?
Linux (ARM64) 196MB Requested ? ? ? N/A1 ?
Linux (ARMv7l) 128MB Requested ? ? ? N/A1 ?
Android - - ? ? ? N/A1 ?
iOS - - ? ? ? N/A1 ?
tvOS - - - ? ? N/A1 ?
Web - - - ? ? N/A1 ?
Memory Usage Windows ≈57MB ≈67MB (Debug) / ≈63MB (Release) ≈59MB ≈44MB then ≈39MB ≈2.7MB N/A1 ≈61.6MB (Debug) / ≈60.4MB (Release)
MacOS ? ? ? ? ? N/A1 ?
Linux ? ? ? ? ? N/A1 ?
Android - - ? ? ? N/A1 ?
iOS - - ? ? ? N/A1 ?
tvOS - - - ? ? N/A1 ?
Web - - - ? ? N/A1 ?
Start duration Windows ≈123ms ≈21ms (Debug) ≈121ms ≈105ms (Debug) ? N/A1 ?
MacOS ? ? ? ? ? N/A1 ?
Linux ? ? ? ? ? N/A1 ?
Android - - ? ? ? N/A1 ?
iOS - - ? ? ? N/A1 ?
tvOS - - - ? ? N/A1 ?
Web - - - ? ? N/A1 ?

1: Frameless mode not supported yet

Future content

TODO:

  • WebGL Support
  • Build constraints
  • Source code protection
  • Modules support (npm, native, etc.)

Benchmarks ideas:

  • BabylonJS scene
  • spreadsheet
  • IDE

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

Contributors

dependabot[bot] avatar elanis avatar mesteery avatar

Watchers

 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.