You are viewing a single thread.
View all comments View context
20 points

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.

permalink
report
parent
reply
11 points

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.

permalink
report
parent
reply
2 points

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

permalink
report
parent
reply
4 points

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.

permalink
report
parent
reply
7 points

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

permalink
report
parent
reply
3 points

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

permalink
report
parent
reply
2 points
*

uh, well, im running like fifty things at once on all my devices, and except for the OS, all of them were coded with this design philosophy. I can definitely tell.

on a commercial device, with everything live-snitching on me to fifty different people at once, computing actually appears to slow down over time.

permalink
report
parent
reply
2 points

That’s not because of hand-written assembly vs compilers, that’s because everyone and their dog wants abstractions up the wazoo. You have frameworks on top of frameworks, and no compiler can efficiently sift through that nonsense.

I’d really like to see a shift back toward compiled languages like Rust to cut through the bloat.

permalink
report
parent
reply
2 points

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.

permalink
report
parent
reply
1 point

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

permalink
report
parent
reply

Greentext

!greentext@sh.itjust.works

Create post

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:

  • Anon is often crazy.
  • Anon is often depressed.
  • Anon frequently shares thoughts that are immature, offensive, or incomprehensible.

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

Community stats

  • 8K

    Monthly active users

  • 1.3K

    Posts

  • 57K

    Comments