this post was submitted on 10 Oct 2023
832 points (97.0% liked)
Programmer Humor
32426 readers
1062 users here now
Post funny things about programming here! (Or just rant about your favourite programming language.)
Rules:
- Posts must be relevant to programming, programmers, or computer science.
- No NSFW content.
- Jokes must be in good taste. No hate speech, bigotry, etc.
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
gluonjs could be an alternative. IIRC there's another framework similar to Electron that uses native system WebView for rendering and Rust for interfacing directly with the OS, the name escapes me for the moment though.
Edit: I remembered the name! It's Tauri
NeutralinoJS is an option similar to Tauri. You don't need to bundle a whole fucking browser just to run a couple of webpages with some javascript.
Which is better? Both look promising I want to know which is more lightweight. I am trying to port a electron application to tauri started 2 days ago. I want to make my application fast as possible.
I haven't done anything with javascript in over 6 years, so I can't say which is better.
This comparison might be useful to you. Tauri gives a smaller executable for Windows compared to Neutralino, but slightly larger for Mac and Linux. Also, Tauri's build times are orders of magnitude longer (5 minutes vs 1 second for Neutralino), I'd like some confirmation on your part if that's indeed the case. One thing that really caught my attention, however, is how huge a memory hog Neutralino is on Linux, 700MB for an "empty-app-frameless" project!!
https://github.com/Elanis/web-to-desktop-framework-comparison
I'm actually curious in trying these two out myself, especially to see if the tauri build times are that bad, and if neutralino's RAM usage is so high on linux.
Thanks to let me know.
Haha