this post was submitted on 01 May 2025
20 points (95.5% liked)

Programming

19982 readers
226 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] Solumbran@lemmy.world 8 points 4 days ago (1 children)

Most performance optimisation can be done through improving algorithms and data structures, and knowing well the language you're using.

I don't think I've encountered any performance issue that wasn't either:

  • Unavoidable because of what I'm doing
  • Coming from an inefficient data structure or algorithm
  • Coming from a bad use or pitfall of the language.

Of course there are specific cases such as low-power environments and such, but that's not what most people talk about when they talk about performance.

I also would like to point out my confusion with the obsession towards performance when it's not needed (such as "is languageA 10% faster than languageB?") but then everyone putting web technologies everywhere, from games to desktop software. It's starting to feel like performance is more of a cult than a pragmatic question at this point.

[–] SatouKazuma@programming.dev 2 points 3 days ago (1 children)

Yeah I've noticed a rise in electron apps. Just because it is technically cross platform doesn't make something efficient. In a lot of cases, devs and large enterprises would be better off simply rewriting code from scratch in Kotlin, Flutter, etc., if performance is the name of the game.

[–] Giooschi@lemmy.world 2 points 2 days ago (1 children)

Just because it is technically cross platform doesn't make something efficient.

If you want performance you'll surely won't go with cross platform. The more general something is the less efficient it is.

[–] SatouKazuma@programming.dev 1 points 2 days ago

Precisely, but I mean in terms of developer hours. Long term, apps that are developed natively for their target platform are much easier to extend and maintain.