News for hackers. Stuff that matters.
Re:“Clean Code, Horrible Performance” Discussion by haspok on Saturday March 11, 2023 @08:41AM (#35108182)
The whole C64 scene are shaking their head in disbelief. The CPU couldn't care less about "easy readability" (whatever that even means) of your code. Ever heard of self-writing / self-modifying code? Probably an extreme example, and it can be used both ways - for performance reasons (unroll those loops!) or for abstraction (macros are your friend!).
Re:“Clean Code, Horrible Performance” Discussion by bigbillheck on Saturday March 11, 2023 @10:20AM (#35108947)
One thing you have to remember about modern CPUs is that they are not fast 6502s.