527
you are viewing a single comment's thread
view the rest of the comments
[-] LodeMike@lemmy.today 20 points 2 weeks ago

This isn't really true on modern systems anymore. Lower level languages like C and Rust are more or less just as performant as handmade assembly.

[-] notabot@lemm.ee 11 points 2 weeks ago

Sure, compilers have come a long way since then and there is vanishingly little you'd write in assembler now-a-days, and you'd probably drive yourself mad trying to do so on anything more complex than a microprocessor.

[-] sunstoned@lemmus.org 3 points 2 weeks ago

No disrespect, but I love that folks from the UK always say "assembleuh" like they were on their way to saying "assembly" and got spooked halfway through

[-] sugar_in_your_tea@sh.itjust.works 4 points 2 weeks ago

Yup. And our processors are a lot more powerful, so the tricks you'd do in assembly to eek out performance just don't matter anymore.

[-] mbfalzar@lemmy.dbzer0.com 8 points 2 weeks ago

I know it's a typo but "eek out performance" has made me picture someone programming a little ghost to spook the rest of the code into running faster

[-] sugar_in_your_tea@sh.itjust.works 3 points 2 weeks ago

I think it was a subconscious letter swap. :) I'll keep it because ghosts.

[-] LodeMike@lemmy.today 2 points 2 weeks ago

Yes that's what I was referring to.

It's some sort of out of order execution and branch prediction that does it. The thing you're usually waiting on the most is IO.

[-] easily3667@lemmus.org 1 points 2 weeks ago

If you need to precisely know exactly how many instructions are running in a loop (ie super duper embedded)

this post was submitted on 20 Mar 2025
527 points (98.5% liked)

Greentext

5928 readers
2135 users here now

This is a place to share greentexts and witness the confounding life of Anon. If you're new to the Greentext community, think of it as a sort of zoo with Anon as the main attraction.

Be warned:

If you find yourself getting angry (or god forbid, agreeing) with something Anon has said, you might be doing it wrong.

founded 2 years ago
MODERATORS