this post was submitted on 14 Jul 2024
485 points (96.9% liked)

linuxmemes

20703 readers
792 users here now

I use Arch btw


Sister communities:

Community rules

  1. Follow the site-wide rules and code of conduct
  2. Be civil
  3. Post Linux-related content
  4. No recent reposts

Please report posts and comments that break these rules!

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 24 points 2 months ago (1 children)

There are a few reasons for this, some of the most important being:

  • The languages were not designed with speed primarily in mind and as such made some design decisions that fundamentally cannot be optimized around
  • Authors of programs in these languages prioritize things other than performance when writing the programs.

Speed is not just about processors becoming faster - this is a large part of why DSA is important to learn as a programmer.

[โ€“] [email protected] 1 points 2 months ago* (last edited 2 months ago)

They do have optimizations however they are interpreted at runtime so they can only be so fast

Frankly you won't notice much unless the program is doing something computation heavy which shouldn't be done in languages such as JavaScript and Python