Categories > Coding > Javascript >
Screw Electron. Check out Tauri (Rust over Node.js)
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.
- It uses Rust for the backend. We all know the wonders of Rust. High speed and reliability.
- 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.
Replied
Thanks for sharing, Electron has always been a pain to use on-the-go so I just kinda gave up with the performance
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.
!!!!!marcus__!!!!!#8611
https://cdn.discordapp.com/attachments/1066053366758780978/1078052772567597127/image.png
Replied
Tauri is a great alternative I agree, the memory usage on it is so low as well.
Replied
Is it possible for me to use this for website development aswell? I'm interested.
Replied
Rust is the future and the future is not now.
veh_handler and seh_handler disliker
<p>enis</p>
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
Replied
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
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. 😁
Replied
rust seems to be picking up speed fast, sounds good!
https://i.imgur.com/bgLiKCY.gif
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
Users viewing this thread:
( Members: 0, Guests: 1, Total: 1 )