this post was submitted on 01 Sep 2023
337 points (96.2% liked)

Programming

17308 readers
191 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 [email protected]



founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 28 points 1 year ago* (last edited 1 year ago) (3 children)

Computer hardware has been getting faster and faster for decades at this point, but my computer still slows down. Like WTF. The dumbass programmers take the extra power given to them and squander it instead of optimizing their code. Microsoft word could run pretty well on a windows 98 PC, but the new Word can slow down PCs that are 5-10 years old. Programmers are complete idiots sometimes...

[–] [email protected] 3 points 1 year ago (1 children)

~~i hate to say it~~ but r u able to use linux ?

[–] [email protected] 4 points 1 year ago* (last edited 1 year ago) (1 children)

Linux can be just as much of a slow-ass OS. The real issue is all of the crap everyone wants to do in the browser now.

[–] [email protected] 2 points 1 year ago

With linux you have the option of debloating your system by using a minimalist distro with Windows you have no choice

[–] [email protected] 2 points 1 year ago (1 children)
[–] [email protected] 3 points 1 year ago

Here is an alternative Piped link(s): https://piped.video/watch?v=pW-SOdj4Kkk

Piped is a privacy-respecting open-source alternative frontend to YouTube.

I'm open-source, check me out at GitHub.

[–] [email protected] 1 points 1 year ago (1 children)

As someone who only learned a few things about programming, is optimizing code an easy thing? I've read about that many times but the only thing I could imagine (and I had to imagine it as I'm not really a programmer) is that perhaps their codes could be more efficient (so rewriting their code so that ten lines do the job of thirty for example) but I feel like if they lack the logic skills or math skills to do it then perhaps that's why the code contains large functions and such.

But again, I'm not a coder, so I've no idea how in practice code can be optimized.

[–] [email protected] 2 points 1 year ago

Shorter is usually faster so your right on that account but not always. There are few things like optimizing for cache hits that can vastly speed up programs but are hard to do. Most slow programs are due to technical debt, high dependencies usage, mixed with laziness and lack of interest in developers with speeding up their program.