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
Cancel
Post
Replied
Cancel
Post
!!!!!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.
Cancel
Post
Replied
Rust is the future and the future is not now.
Cancel
Post
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
Cancel
Post
https://media.discordapp.net/attachments/1013939973671624917/1027279180192292944/unknown.png
https://media.discordapp.net/attachments/1010670716062007347/1108945330847883274/image.png
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.
Cancel
Post
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
Cancel
Post
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. 😁
Cancel
Post
I'm not lazy, I'm just highly motivated to do nothing. #I💚Dogs.
Replied
average tauri application be taking 2gb of space
Cancel
Post
https://cdn.discordapp.com/attachments/1023423265160560745/1132948683747500092/Frame_12x.png
Users viewing this thread:
( Members: 0, Guests: 1, Total: 1 )
Cancel
Post