this post was submitted on 04 Jul 2024
176 points (95.4% liked)

Memes

45727 readers
1078 users here now

Rules:

  1. Be civil and nice.
  2. Try not to excessively repost, as a rule of thumb, wait at least 2 months to do it if you have to.

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[โ€“] xthexder@l.sw0.com 2 points 4 months ago (1 children)

Interesting read.
I think by all the same arguments, running raw machine code (not even assembly) is not a "low-level language" either by their definition.
The branch prediction, instruction-level-parallelism, and cache behaviors all happen in hardware at a lower level than the programmer can control.

All the talk about compiler optimizations seem irrelevant because you can still just turn them off and output simple machine code.

I'm not really sure what the point of arguing the distinction is anyway? Any practical arguments would be much more specific about typical high-level features like garbage collection.

[โ€“] yogthos@lemmy.ml 2 points 4 months ago

Right, what we call low level is really just an emulation layer that's actually at odds with how the actual hardware works. Interestingly enough, it seems like functional style provides a programming model that can be optimized better because it doesn't rely on global shared state.