zulip / zulip-desktop

Zulip Desktop client for Mac, Windows and Linux.
https://zulip.com/apps
Apache License 2.0
835 stars 420 forks source link

Move away from electron #1240

Open LadnerJonas opened 1 year ago

LadnerJonas commented 1 year ago

Problem Description

Electron has serious security flaws and is also using a high amount of memory

Proposed Solution

By using https://tauri.app/, which is like electron but written with rust and way better security. More efficient as well

Comparison between Tauri and Electron

Detail Tauri Electron
Installer Size Linux 3.1 MB 52.1 MB
Memory Consumption Linux 180 MB 462 MB
Launch Time Linux 0.39s 0.80s
Interface Service Provider WRY Chromium
Backend Binding Rust Node.js (ECMAScript)
Underlying Engine Rust V8 (C/C++)
FLOSS Yes No
Multithreading Yes Yes
Bytecode Delivery Yes No
Multiple Windows Yes Yes
Auto Updater Yes Yes1
Custom App Icon Yes Yes
Windows Binary Yes Yes
macOS Binary Yes Yes
Linux Binary Yes Yes
iOS Binary Soon No
Android Binary Soon No
Desktop Tray Yes Yes
Sidecar Binaries Yes No

Describe alternatives you've considered

Native compiled applications

andersk commented 1 year ago

Yep, we’ve been following Tauri development with excitement for the last two years, and switching to it is planned.

nothingismagick commented 1 year ago

Amazing. Ping us (the Tauri team) on discord if you run into any issues!