Categories > Coding > Javascript >

Screw Electron. Check out Tauri (Rust over Node.js)


New Reply

Posts: 934

Threads: 32

Joined: Dec, 2016

Reputation: 102

  • 0

Posted

I enjoy using HTML & JS for UI design because it is very familar as someone who is primarily a website developer. In wanting to make Windows applications with HTML & JS, I mostly had no choice but to use Electron. I hated it though. The minimum packaged .exe size is around 60 megabytes. Really, that's my only personal reason. The clunky export. I've received reports from users of my software that the app would be laggy. I suspect due to it's unncessarily high CPU and RAM requirement, which is problematic on low end computers.

 

Now it's 2023 and Electron is not the only real option anymore. In fact, I bet it's about to get wiped out. That or I'm another cringe lord jumping on the Rust hype train. 

 

I've just found out about Tauri and I'm hyped to port all my Electron apps over to it. Just a couple of reasons. 

  1. It uses Rust for the backend. We all know the wonders of Rust. High speed and reliability.
  2. Much smaller bundle size. For a minimal app, it may be around 8Mb. Compare that to Electron's 60Mb minimum.

Check out Tauri if you develop with Electron at all.

Posts: 7517

Threads: 310

Joined: Aug, 2020

Reputation: 75

  • 0

Replied

Thanks for sharing, Electron has always been a pain to use on-the-go so I just kinda gave up with the performance

Posts: 1449

Threads: 75

Joined: Feb, 2020

Reputation: 82

  • 0

Replied

I heard of this online many times but I've never needed to run web applications as a native application. It sounds like it's worth a try if I'm ever going to need that though.

Posts: 428

Threads: 20

Joined: Nov, 2022

Reputation: 28

  • 0

Replied

honestly i wish there was a simple tool for making html, css, and js into one exe file

!!!!!marcus__!!!!!#8611

https://cdn.discordapp.com/attachments/1066053366758780978/1078052772567597127/image.png

0x90

0x90#2286

vip Mention

Posts: 247

Threads: 25

Joined: Dec, 2020

Reputation: 29

  • 0

Replied

Tauri is a great alternative I agree, the memory usage on it is so low as well.

atariXD

atari | #ImmuneForMod

noticed Mention

Posts: 259

Threads: 11

Joined: Nov, 2022

Reputation: 43

  • 0

Replied

Is it possible for me to use this for website development aswell? I'm interested.

Posts: 35

Threads: 6

Joined: Jul, 2022

Reputation: 6

  • 0

Replied

Rust is the future and the future is not now. 

veh_handler and seh_handler disliker

<p>enis</p>

Posts: 1245

Threads: 84

Joined: Feb, 2021

Reputation: 73

  • 0

Replied

THANK YOU I knew it started with a t I just forgot the name to it you a life saver 

https://media.discordapp.net/attachments/1013939973671624917/1027279180192292944/unknown.png
https://media.discordapp.net/attachments/996322272547704845/1016492646820233246/standard.gif

Posts: 934

Threads: 32

Joined: Dec, 2016

Reputation: 102

  • 0

Replied

@atariXD, Tauri is specifically for desktop app development. Check out Yew if you want to get into website frontend with Rust. It's very similar to React.js/Next.js.

Posts: 1239

Threads: 45

Joined: Jul, 2021

Reputation: 55

  • 0

Replied

"That or I'm another cringe lord jumping on the Rust hype train." Literally made me giggle

 

Nice thread though, I might look into getting into rust

Posts: 1291

Threads: 35

Joined: Jul, 2021

Reputation: 62

  • 0

Replied

Vouch! The exploit I'm developing with a friend is made with TailwindCSS and TauriJs ! We are also learning Rust little by little, It's a lot of fun to develop with Tauri and also to make an exploit as a web application. 😁

Astronemi

Dopemine Addict

Mention

Posts: 3006

Threads: 72

Joined: May, 2020

Reputation: 33

  • 0

Replied

rust seems to be picking up speed fast, sounds good!

https://i.imgur.com/bgLiKCY.gif

Posts: 341

Threads: 11

Joined: Aug, 2021

Reputation: 31

  • 0

Replied

average tauri application be taking 2gb of space

SynUI (Synapse X) | RiceCracker#7645


https://cdn.discordapp.com/attachments/1023423265160560745/1084114440720502865/synapse_x_render.png


New Reply

Users viewing this thread:


( Members: 0, Guests: 1, Total: 1 )