390
Chrulemium (lemmy.blahaj.zone)
submitted 1 year ago* (last edited 1 year ago) by pine to c/196

Inspired by: https://twitter.com/Rimmy_Downunder/status/1686188323164028928

Transcription:

A stick figure pondering: "Hm. If only there was a platform for my desktop application"

The stick figure stepping over many native GUIs to pick up Google Chromium.

The stick figure: "Ah! Here we go!"

top 35 comments
sorted by: hot top controversial new old
[-] arisunz 111 points 1 year ago

I LOVE ELECTRUM!! I WANT EVERY APPLICATION TO BE A CHROMIUM INSTANCE AND EAT HUNDREDS IF NOT THOUSANDS OF MB OF RAM!!!!

[-] tool@lemmy.world 20 points 1 year ago

The only Electron app worth a runny shit is Visual Studio Code.

That's literally it.

[-] PsychrolutesMarcidus 4 points 1 year ago
[-] elfahor 5 points 1 year ago* (last edited 1 year ago)

Logseq does the job for me. Also VsCode is slow and bloated on my old laptop. Neovim ftw

[-] Caketaco@lemmy.world 68 points 1 year ago* (last edited 1 year ago)

Discord moment

“Hmm, we need to make a communications app. Communicating is important, it’ll keep millions of people in contact with eachother. We’ll have to make it as lightweight as possible.”

“OH! I KNOW! ELECTRON!!”

[-] awesome_person@lemm.ee 46 points 1 year ago

don't blame electron for how bad discord performs, just open it up in your browser and watch as the discord tab uses 1gb of ram after 5 minutes of usage. discord simply doesn't care about performance or resource usage

[-] PaigePalisade 25 points 1 year ago

One of Discord's targets is web, and I don't think there is another good UI toolkit that could maintain that target with easy feature parity. Some UI toolkits like Godot (which is a game engine) are capable of targeting web using a canvas element, but that's probably not going to be as performant or as native feeling as a standard website. They could also use a separate code base, but then there would be large feature parity issues. They could also drop the web target, but that might make it harder for users who don't have permission to install software or use Chrome OS.

I feel like Discord is one of the examples where Electron makes sense. If only they allowed third party apps so desktop users who don't care about having every feature can have a better experience.

[-] Caketaco@lemmy.world 8 points 1 year ago

True and fair. Definitely agree with your third-party app thing (man, where have I seen the benefits of having third party apps before?)

I do remember trying out a (TOS breaking) third party app I found on GitHub, but it lacked a lot of features like voice calls and whatnot and crashed frequently. That’s to be expected, though.

[-] yhvr@lemm.ee 7 points 1 year ago
[-] Caketaco@lemmy.world 4 points 1 year ago

Oooooo

I very much am, thank you for this!

[-] SSUPII@sopuli.xyz 36 points 1 year ago* (last edited 1 year ago)

I HATE ELECTRON AND CHROMIUM EMBEDDED FRAMEWORK

[-] DumbAceDragon@sh.itjust.works 20 points 1 year ago* (last edited 1 year ago)

Had to install the feed the beast app to play their stupid modpacks. It was ugly, had ads taking up a quarter of the screen at any time, and it used up a gig of RAM at idle.

On top of that, the launcher would run while the game was running, meaning you had a shitty electron app always running alongside the RAM hoarder that is minecraft.

Really just wish they'd let me install their packs on prism, a far superior qt-based launcher that uses my system's theme.

[-] Nelots@lemm.ee 5 points 1 year ago

Can't you? There is a whole FTB section in prism when installing mod packs that seems to work perfectly fine for me.

[-] DumbAceDragon@sh.itjust.works 4 points 1 year ago

They removed it in a recent update because they were told to by the FTB team. There's a legacy FTB section for much older packs, but it doesn't have the pack I want to play.

[-] ZeeratheZesty 2 points 1 year ago

I mean, worst case scenario, you could always try and use the launcher just to download the mods/install and then cut and paste the Minecraft install over to your launcher of choice. That said, I don't know for certain if that works largely because I've never really played any FTB modpacks, and I've always been EXTREMELY picky with Minecraft launchers for a very similar reason (Curseforge's official app has ads and I don't trust that "Overwolf" thing they also make you install to not be spyware data harvesting).

[-] Nelots@lemm.ee 2 points 1 year ago

Interesting. Turns out I'm still using version 6.3, which is the version just before they removed the ability to download FTB packs. Thanks for the heads-up, I'm certainly not updating now.

One thing I can confirm is that if you can find a way to install release 6.3, FTB downloads still work perfectly fine.

[-] PotatoesFall@discuss.tchncs.de 15 points 1 year ago

A lot of people have made a website before, so it makes sense that's the first choice for them.

That being said, if I was to make a simple desktop app tomorrow, which GUI would you recommend me?

[-] SSUPII@sopuli.xyz 19 points 1 year ago* (last edited 1 year ago)

Its hard to answer without knowing what your app needs to do.

For a generic crossplatform program, I would say QT or GTK when programming in C/++.

[-] ICastFist@programming.dev 12 points 1 year ago

Also depends on the language being used. Even if it's javascript, you could use something like Tauri or Neutralino, which can also make an executable bundle which uses the OS's native HTML renderer, no bundled chromium needed.

Some languages + recommended graphical frameworks:

  • FreePascal + Lazarus
  • Dart + Flutter
  • Go + Fyne
  • Lua + LOVE2D (game engine, but can work fine for most cases)
[-] PsychrolutesMarcidus 1 points 1 year ago

for the love of god don't use go to make gui desktop app

[-] yggdar@lemmy.wtf 8 points 1 year ago

Which programming language will you use?

[-] PotatoesFall@discuss.tchncs.de 7 points 1 year ago

this is a hypothetical scenario but let's just say rust

[-] e-ratic@kbin.social 13 points 1 year ago
[-] solinus@lemmy.cafe 7 points 1 year ago

nitter still works after the api chnages?

[-] PsychrolutesMarcidus 1 points 1 year ago

they parse instead of using api

[-] Sekoia 5 points 1 year ago

What's your opinion on Tauri?

[-] PsychrolutesMarcidus 2 points 1 year ago

not mature enough. also no mobile support.

[-] priapus@sh.itjust.works 2 points 1 year ago

I'd much rather use a Tauri app than an Electron app. Tauri apps are smaller and lighter, and applications are always faster because the backends are in Rust.

[-] Smorty 2 points 1 year ago

Godot is sick! But not for user interfaces.

load more comments
view more: next ›
this post was submitted on 02 Aug 2023
390 points (100.0% liked)

196

16533 readers
1948 users here now

Be sure to follow the rule before you head out.

Rule: You must post before you leave.

^other^ ^rules^

founded 1 year ago
MODERATORS