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

I Cast Fist
link
fedilink
English
151Y

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.

Spaz
link
fedilink
11Y

Haha

SagXD
link
fedilink
2
edit-2
1Y

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 Cast Fist
link
fedilink
English
31Y

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.

SagXD
link
fedilink
21Y

Thanks to let me know.

Create a post

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.
  • 1 user online
  • 77 users / day
  • 211 users / week
  • 413 users / month
  • 2.92K users / 6 months
  • 1 subscriber
  • 1.53K Posts
  • 33.8K Comments
  • Modlog