News for hackers. Stuff that matters.
Re:“Clean” Code, Horrible Performance by Ygg2 on Tuesday February 28, 2023 @08:30AM (#34969052)
There are competeing in my opinion. Many techniques to make code fast will make it less readable.

Techniques like manual code unrolling/inlining, writing branchless code, compressing data to fit into a pointer, etc.

Re:“Clean” Code, Horrible Performance by lwhi on Tuesday February 28, 2023 @09:20AM (#34969557)
I agree .. fast doesn't take account of how verbose or understandable code will be.

As an extreme example, people choose not to write low level code for a good reason, even if it might be fast.

High level / interpreted code will be more understandable, but will automatically have an overhead in most cases.