this post was submitted on 22 Nov 2025
33 points (100.0% liked)

Ask Lemmy

35727 readers
1387 users here now

A Fediverse community for open-ended, thought provoking questions


Rules: (interactive)


1) Be nice and; have funDoxxing, trolling, sealioning, racism, and toxicity are not welcomed in AskLemmy. Remember what your mother said: if you can't say something nice, don't say anything at all. In addition, the site-wide Lemmy.world terms of service also apply here. Please familiarize yourself with them


2) All posts must end with a '?'This is sort of like Jeopardy. Please phrase all post titles in the form of a proper question ending with ?


3) No spamPlease do not flood the community with nonsense. Actual suspected spammers will be banned on site. No astroturfing.


4) NSFW is okay, within reasonJust remember to tag posts with either a content warning or a [NSFW] tag. Overtly sexual posts are not allowed, please direct them to either !asklemmyafterdark@lemmy.world or !asklemmynsfw@lemmynsfw.com. NSFW comments should be restricted to posts tagged [NSFW].


5) This is not a support community.
It is not a place for 'how do I?', type questions. If you have any questions regarding the site itself or would like to report a community, please direct them to Lemmy.world Support or email info@lemmy.world. For other questions check our partnered communities list, or use the search function.


6) No US Politics.
Please don't post about current US Politics. If you need to do this, try !politicaldiscussion@lemmy.world or !askusa@discuss.online


Reminder: The terms of service apply here too.

Partnered Communities:

Tech Support

No Stupid Questions

You Should Know

Reddit

Jokes

Ask Ouija


Logo design credit goes to: tubbadu


founded 2 years ago
MODERATORS
 

If software worked and was good in 2005 on pcs with 2gb RAM and with CPUs/GPUs vastly worse than modern ones, then why not write modern software like how that was written? Why not leverage powerful hardware when needed, but leave resource demands low at other times?

What are the reasons for which it might not work? What problems are there with this idea/approach? What architectural (and other) downgrades would this entail?

Note: I was not around at that time.

you are viewing a single comment's thread
view the rest of the comments
[–] JustARegularNerd@lemmy.dbzer0.com 18 points 1 week ago* (last edited 1 week ago) (1 children)

I'm not an experienced developer, I've just done stuff in Java and Python before, so take what I say with a grain of salt.

If we're strictly talking interfaces, most modern software is a web browser showing you their interface made in HTML. Common ones that come to mind include Discord, Microsoft Teams and Spotify. You can usually tell from how hovering over action buttons always results in a pointing hand cursor, and how absolutely sluggish they run even on decent hardware. This is often done with Electron, and these apps are often called Electron apps.

The problem with this is that now you're not running a native application with minimal overhead, you're running a whole ass web engine

This is (probably, IMO) because it's much easier to hire a frontend web developer and have them do up an interface, than have a dedicated backend developer do it for whatever window library. It also makes it easy to port the app to many systems (including mobile) given how HTML5, CSS and JS all can be made to work on any platform that can run a web engine.

I also imagine that it makes the user interface consistent to the company's brand, rather than consistent to your operating system. If you look at Discord on Windows, macOS and Linux, it looks almost identical on all three except for only where necessary such as the top window border. Meanwhile if you look at LibreOffice (native application) on Windows, macOS and Linux, the window styling is completely different per system.

Update I realise after posting that I never otherwise explained other performance considerations outside of the interface - but I hope that just briefly going into interfaces gives a good idea already for software. If you are talking games, then that's a whole separate conversation

[–] moseschrute@lemmy.world 1 points 3 days ago

Electron isn’t cool anymore. I’ve been really enjoying using Tauri https://tauri.app/