this post was submitted on 05 Dec 2023
187 points (86.4% liked)

Technology

59575 readers
3280 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related content.
  3. Be excellent to each another!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, to ask if your bot can be added please contact us.
  9. Check for duplicates before posting, duplicates may be removed

Approved Bots


founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] ICastFist@programming.dev 34 points 11 months ago (2 children)

Here's an idea to start making it better: ditch fucking electron. There are alternatives that won't need complete code rewrite or language change (tauri, neutralino). Better yet, actually go ahead with a full language change and pick Dart + Flutter, that shit is crossplat.

But we all know they won't, because fuck you, "ram is cheap". Good luck upgrading the ram on your phone.

[–] ByGourou@sh.itjust.works 10 points 11 months ago* (last edited 11 months ago) (4 children)

It run fine on my 7 years old phone. Sure, native would be better, but electron mean they can make the website, the windows app and the android app all at once. So it's worth it. Everyone on Lemmy is a programmer, so you should know how hard it is to support multiple version of a service with as much active developpement as discord.

[–] ICastFist@programming.dev 13 points 11 months ago (1 children)

The point of Tauri and Neutralino is to do what Electron does without needing to bundle a whole, isolated chrome browser to make it pretend it is a native app

[–] ByGourou@sh.itjust.works 3 points 11 months ago (4 children)

I didn't know about that, sorry I missed it in you original comment. Then maybe theses frameworks are too young or have some kind of limitation, or just discord did not switch yet, but I hope they do. I know optimisation is not important for most company but if the switch is free they should do it.

load more comments (4 replies)
[–] justJanne@startrek.website 5 points 11 months ago (1 children)

I still run the last pre-JS version of the discord app on my phone, and it's sooo much snappier.

[–] ByGourou@sh.itjust.works 1 points 11 months ago* (last edited 11 months ago)

I didn't know it used to be on native, maybe I will try finding it so I can save some space

load more comments (2 replies)
[–] Aatube@kbin.social 1 points 11 months ago* (last edited 11 months ago)

They used to be native with Kotlin on Android and IDK on iOS. Now they use React Native, which isn’t really electron or native. I’m not sure if it bundles a browser but it sounds like the same as Tauri and Neutralino