Wednesday, October 9, 2024

Electron vs. Tauri: Which cross-platform framework is for you?

In contrast to Electron, not very many mainstream desktop purposes are constructed with Tauri, at the very least, not but. A few of that could be resulting from Electron’s legacy presence, or the relative complexity of Rust versus JavaScript. However a good variety of apps, each industrial and open supply, have been written with Tauri. The pgMagic GUI consumer for PostgreSQL, the Payload file switch device, and the Noor group chat app are examples.

Payload, a file transfer app written in Tauri

Payload, a file switch app written in Tauri. The runtime reminiscence footprint is a mere 4MB on Microsoft Home windows, however the app has entry to simply about all the identical system-level performance as an Electron app.

IDG

Which is best: Tauri or Electron?

Proper now, Electron stays essentially the most distinguished and well-understood of the cross-platform UI frameworks. For all of the criticism levied towards it, it’s nonetheless a preferred default alternative for delivering cross-platform purposes with good system integration and a wealthy GUI. However complaints about Electron’s reminiscence consumption and the dimensions of its binaries are legitimate, they usually aren’t going away quickly. They’re intimately tied to the design of Electron apps, and solely a redesign of both Electron or the underlying browser parts will repair that problem.

Tauri apps are designed in a different way from the bottom up to make use of much less disk area and fewer reminiscence. However that comes at the price of it being a more moderen know-how that depends closely on Rust—a comparatively new language, additionally with a comparatively new growth ecosystem. A dedication to Tauri requires a dedication to each Rust and JavaScript, for the again finish and entrance finish, respectively.

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest Articles