822
fuuuuuuuuuuture (lemmy.world)
submitted 7 months ago by [email protected] to c/[email protected]
you are viewing a single comment's thread
view the rest of the comments
[-] [email protected] 20 points 7 months ago

Is there a Firefox powered framework like electron?

[-] [email protected] 21 points 7 months ago* (last edited 7 months ago)

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 7 months ago

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 7 months ago* (last edited 7 months ago)

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 7 months ago

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 7 months ago

Thanks to let me know.

[-] [email protected] 1 points 7 months ago
this post was submitted on 10 Oct 2023
822 points (96.9% liked)

Programmer Humor

30944 readers
3705 users here now

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

Rules:

founded 4 years ago
MODERATORS