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.
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!!
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.
This could actually be a render, WTF is that surface they’re on. They look like the way sheet metal comes from a foundry, though, in which case they’d be person sized.
😳 thanks for the heads up. Because if I’m gonna cut myself down there I’m gonna scream like I’m in a Vivaldi Opera. And you know me — I was definitely Brave enough to have some Steamy “Noah get the Ark” action with it, so you literally saved me.
BTW I heard that Chrome is bad for the environment because it’s so resource intensive. That’s why me and car manufacturers are getting rid of it.
Plus I hate how it looks and feels. I would much rather get stranded in a Safari than have to stand how chrome looks.
I currently configure Hyprland on a laptop that is not used for video editing or excessive YouTube usage or gaming or multimedia.
Interesting, could you tell me what sort of glitches you encounter when you do these in Hyprland? I’m assuming you’re an Nvidia user like me.
Most gaming issues I’ve encountered were solved by simply running all games on Gamescope…which is ironic because gamescope is used for running X programs inside a wayland container but whatevs, if it works it works.
Kdenlive was unusable due to he UI flickering and randomly showing massive black and white bars. It was actually so bad, that it for some reason ruined my configuration and I had to re-setup it under X11 when I switched back.
YouTube video ran noticeably worse than on X11. micro lags and overall worse picture quality.
I also was not able to get OBS working. Despite everything being set up as in the instructions it did not find any screens or windows to record.
I want to get better at using TUIs and all the lot of lighter-weight software, but I’ve quite frankly been too stupid to learn it.
I downloaded Gentoo onto an old Chromebook with the Mr Chromebox script. Currently am trying to make it into a sandbox for me to learn more about how init systems, compilers, and other lower level OS details.
Other than reading the Wikis, are there any projects that you’d suggest to increase one’s ability in those realms? Thanks!
Really what got me to learn to use the terminal more was downloading systems without tons of gui apps. Most base systems will be like that. In general my only gui apps are a file browser, web browser, and audio tools. Debian, arch, gentoo, nix. Avoid stuff like mint or endeavour if you want to force yourself into learning the terminal. The more you use it, the better you’ll get. Using gui apps isn’t bad, sometimes it just works better for specific actions. But knowing how to use the terminal helps for when nothing else works.
Ow. I didn’t use gentoo until I had good enough hardware that updates wouldn’t take 2 days to finish. I used arch or freebsd when I only had a laptop available.
Surprisingly, it only takes a couple of minutes. Except if I have to update firefox or nodejs or clang or llvm or gcc, those take 4 hour minimum and it’s worse when they all have to update at the same time. It’s spring where I live and I don’t want to know what will happen to my laptop when i try to update on summer.
Steam is using CEF v85 (not Electron but still). Should have gone “please be aware to not visit even slightly shady websites until we update it” but instead went “oh you must like security, so we announce that we will drop Windows 7/8 support in half a year (because CEF Microsoft doesn’t support it anymore) so you could play your games more securely”.
Last time I checked the version Electron used by Discord was severely out of date causing several issues that had been solved months ago upstream. That’s the fault of Discord, not Electron but there are several issues with Chromium that I have to deal with on every Electron app I use. Compose sequences are still partially broken. I reported it at Chromium but they responded with a video of them testing it on Windows (not with a VM), said they couldn’t reproduce the issue (with a Linux specific input method?!) and then marked it as unreproducible.
Problem is, for any somewhat big project (like discord) updating Electron without something breaking is a nightmarishly complex venture as Electron doesn’t seem to care about backwards compatibility.
The error is in picking Electron in the first place. One particular case that I’ve had with several Electron apps are zombie processes. You close the window, but you check the task manager and see 4-5 processes hanging in there, eating resources for no reason.
I agree that it’s silly to package your app as a website with a browser but what other options do you have? GTK is difficult to get working on Windows, wxwidgets requires installing libraries on every system and Qt is either paid or LGPL. The only real crossplatform options seem to be Flutter and some .NET frameworks.
FreePascal + Lazarus have been desktop crossplatform for many years. “But it’s Pascal! Nobody uses Pascal! And the defaults are fugly!”, fair enough, but it offers compatible crossplatform UI with a single codebase.
Java also lets you write UI stuff and keep a single codebase for multiple platforms, thanks to the JVM. It always looks “weird” or “ugly” next to whatever OS’s default UI is and also needs a compatible JRM installed, but it works.
Nowadays, web/javascript projects can opt for Tauri or Neutralinojs instead of Electron. They use the OS’s native HTML renderer, no browser required.
They updated to a version that included a patch for that exploit, however it doesn’t matter in the grand scheme of things, because they’re still on 22.x, support for which has already been terminated
I have yet to try the last two. I really enjoy duckduckgo on my phone, but I know there was some controversy. I guess I’m lazy but I love the fire button that burns away all your open tabs and history in one click. Started using Brave recently and I kind of enjoy how it reports how much stuff its blocked and the breakdown of what it all is. I have had no noticeable issues with either one.
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !programmerhumor@lemmy.ml
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.
Is there a Firefox powered framework like electron?
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
Screw chromium! All my homies hate chromium!
It is not clear from this pictures whether these drums are finger size or building size. Need more perspective!
This could actually be a render, WTF is that surface they’re on. They look like the way sheet metal comes from a foundry, though, in which case they’d be person sized.
Least scuffed Aliexpress experience
Please don’t screw chromium, you might cut yourself on the edges.
😳 thanks for the heads up. Because if I’m gonna cut myself down there I’m gonna scream like I’m in a Vivaldi Opera. And you know me — I was definitely Brave enough to have some Steamy “Noah get the Ark” action with it, so you literally saved me.
BTW I heard that Chrome is bad for the environment because it’s so resource intensive. That’s why me and car manufacturers are getting rid of it.
Plus I hate how it looks and feels. I would much rather get stranded in a Safari than have to stand how chrome looks.
Cyberpunk 2077 proves this to be true.
the walls are also covered with green slime
no, they always do that
'Ate chrome
'Ate system d
'Ate GNOME (not racist just don’t like it)
Love me firefox
Love me openrc
Love me TTY and DWM
Love me Gentoo
wayland is the future old man
Wayland can’t even remap keys to other characters.
Yet
Yeah, but when?
IIRC it’s actually in development.
They make a few Wayland DWMs
“Wayland will be ready for production in less than 2 years.”
- Wayland fanboys since 13 years
I’m using and comfortable with Wayland, particularly Hyprland, that too on an Nvidia card.
It’s not perfect, but for me it feels way better than X.
I currently configure Hyprland on a laptop that is not used for video editing or excessive YouTube usage or gaming or multimedia.
And for this, yes, it’s fine.
Except the stupid keyboard thing.
Interesting, could you tell me what sort of glitches you encounter when you do these in Hyprland? I’m assuming you’re an Nvidia user like me.
Most gaming issues I’ve encountered were solved by simply running all games on Gamescope…which is ironic because gamescope is used for running X programs inside a wayland container but whatevs, if it works it works.
Yep, Nvidia.
Kdenlive was unusable due to he UI flickering and randomly showing massive black and white bars. It was actually so bad, that it for some reason ruined my configuration and I had to re-setup it under X11 when I switched back.
YouTube video ran noticeably worse than on X11. micro lags and overall worse picture quality.
I also was not able to get OBS working. Despite everything being set up as in the instructions it did not find any screens or windows to record.
I want to get better at using TUIs and all the lot of lighter-weight software, but I’ve quite frankly been too stupid to learn it.
I downloaded Gentoo onto an old Chromebook with the Mr Chromebox script. Currently am trying to make it into a sandbox for me to learn more about how init systems, compilers, and other lower level OS details.
Other than reading the Wikis, are there any projects that you’d suggest to increase one’s ability in those realms? Thanks!
Really what got me to learn to use the terminal more was downloading systems without tons of gui apps. Most base systems will be like that. In general my only gui apps are a file browser, web browser, and audio tools. Debian, arch, gentoo, nix. Avoid stuff like mint or endeavour if you want to force yourself into learning the terminal. The more you use it, the better you’ll get. Using gui apps isn’t bad, sometimes it just works better for specific actions. But knowing how to use the terminal helps for when nothing else works.
Fellow gentoo user
Flex your makeopts jobs amount. I’ve got 30.
I don’t know why but you comment reminded me that I haven’t updated in a week 💀
I use gentoo on a laptop so I have 4 makeopts jobs only.
Ow. I didn’t use gentoo until I had good enough hardware that updates wouldn’t take 2 days to finish. I used arch or freebsd when I only had a laptop available.
Surprisingly, it only takes a couple of minutes. Except if I have to update firefox or nodejs or clang or llvm or gcc, those take 4 hour minimum and it’s worse when they all have to update at the same time. It’s spring where I live and I don’t want to know what will happen to my laptop when i try to update on summer.
I think for me, it takes around 45 minutes to do a full system update when I run it. I usually run it every 3 days or so.
Simple as
Oh hi, Cave :D
Leave me in the “past” with my gtk4 applications please.
Isn’t that Webkit as well? lol
I’ve always wondered how much that slows down GTK compared to a more native version to draw stuff…
Webkit’s not chrome, tho, not even close
😂 😂 😂
All refs load into ChRome.
Future?, we basically living it already
The future is now, old man!
Aren’t we not living in the future by construction?
*Badly outdated Chrome with a bunch of critical vulnerabilities.
Don’t forget every Electron app comes with its own Chrome.
Steam is using CEF v85 (not Electron but still). Should have gone “please be aware to not visit even slightly shady websites until we update it” but instead went “oh you must like security, so we announce that we will drop Windows 7/8 support in half a year (because
CEFMicrosoft doesn’t support it anymore) so you could play your games more securely”.And they thought snaps were dumb
Last time I checked the version Electron used by Discord was severely out of date causing several issues that had been solved months ago upstream. That’s the fault of Discord, not Electron but there are several issues with Chromium that I have to deal with on every Electron app I use. Compose sequences are still partially broken. I reported it at Chromium but they responded with a video of them testing it on Windows (not with a VM), said they couldn’t reproduce the issue (with a Linux specific input method?!) and then marked it as unreproducible.
Problem is, for any somewhat big project (like discord) updating Electron without something breaking is a nightmarishly complex venture as Electron doesn’t seem to care about backwards compatibility.
The error is in picking Electron in the first place. One particular case that I’ve had with several Electron apps are zombie processes. You close the window, but you check the task manager and see 4-5 processes hanging in there, eating resources for no reason.
I agree that it’s silly to package your app as a website with a browser but what other options do you have? GTK is difficult to get working on Windows, wxwidgets requires installing libraries on every system and Qt is either paid or LGPL. The only real crossplatform options seem to be Flutter and some .NET frameworks.
FreePascal + Lazarus have been desktop crossplatform for many years. “But it’s Pascal! Nobody uses Pascal! And the defaults are fugly!”, fair enough, but it offers compatible crossplatform UI with a single codebase.
Java also lets you write UI stuff and keep a single codebase for multiple platforms, thanks to the JVM. It always looks “weird” or “ugly” next to whatever OS’s default UI is and also needs a compatible JRM installed, but it works.
Nowadays, web/javascript projects can opt for Tauri or Neutralinojs instead of Electron. They use the OS’s native HTML renderer, no browser required.
Wait, you’re telling me that Discord is probably still vulnerable to the Webp RCE vulnerability?
They updated to a version that included a patch for that exploit, however it doesn’t matter in the grand scheme of things, because they’re still on 22.x, support for which has already been terminated
They use plain text and there biggest shareholder is the Tencent (the CCP let’s be real) are you surprised? It’s literally a data farm for China…
They probably manually added the patch.
It was the best scene in Mad Max.
Witness me!
I’ll see you in Valhalla!
Y’all, there’s a full video, this single image doesn’t do it justice: https://birdbutt.com/@barnibu/110995778137311940
Lol edge at the end got me
The fact that the frame rate of the camera pan doesn’t match up with the frame rate of the props is kinda nauseating ngl
deleted by creator
I hope not! Firefox FTW!
Or duckduckgo. Or Brave. Or Opera. Or Tor.
I have yet to try the last two. I really enjoy duckduckgo on my phone, but I know there was some controversy. I guess I’m lazy but I love the fire button that burns away all your open tabs and history in one click. Started using Brave recently and I kind of enjoy how it reports how much stuff its blocked and the breakdown of what it all is. I have had no noticeable issues with either one.
ddg,brave and opera are chromium based.
Duckduckgo is a firefox addon for desktop. On iOS it utilizes a fork of Safari.
The others I’m not sure about, but a quick search shows me that I gotta delete Brave. Damn. Google is fucking insidious
Why would you mention an add-on here? Anyway, there’s a ddg browser that’s available for both android and windows, and is chromium based.
I use it on my phone, and on the phone ddg is it’s own separate browser.
Forked from chromium.
It is not. It uses the Safari webkit.
And Tor Browser is Firefox based, so this is still a two player game. Unless you like navigating a GDPR banner on Lynx.