
Story: To The Assembly
CoRecursive: Coding Stories
00:00
Compiler Optimization - What Does All This Knowledge Tell Us About Writing High Level Code?
There's a bunch of ways you might solve this. The easiest way is just going to check if the first bit is one, and then drop it off,. Then there's some octimizations you can make on that. If the whole thing's zero, you know, you're done. You could do some sort of bit twiddling, hacks, et cetera. But anyway, you write any of those ways on a modern a computer, ta, a modern le., and you turn the optimizer on to full, and you tell it that the architecture is like a modern pc... Any way, you wrote that, it will retake the whole thing and replace it with the pop...
Transcript
Play full episode