this post was submitted on 10 Oct 2023
845 points (97.0% liked)

Programmer Humor

32692 readers
379 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] sheogorath 22 points 1 year ago* (last edited 1 year ago) (1 children)

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

[–] [email protected] 15 points 1 year ago (2 children)

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.

[–] [email protected] 2 points 1 year ago* (last edited 1 year ago) (1 children)

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.

[–] [email protected] 3 points 1 year ago (1 children)

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.

[–] [email protected] 2 points 1 year ago

Thanks to let me know.

[–] StopSpazzing 1 points 1 year ago