Loading video...
Video Failed to Load
“If you can vertically center a div, you can probably learn assembly”. Casey Muratori, Casey Muratori, programmer and performance nerd, on why it’s essential for optimization: “People often ask: assembly language, what would I ever need that for? There's a very good reason for it: everything else that you... show more
69,647 views • 3 days ago •via X (Twitter)
5 Comments

Find out why software performance matters and how developers can write faster code with Casey Muratori on The Pragmatic Engineer podcast: • YouTube: • Spotify: • Apple: • Summary and transcript:

@cmuratori Assembly generated by GHC (Haskell compiler) is incomprehensible to me. I spend years reversing malware and Haskell remains one of the best obfuscation techniques I’ve discovered.

@cmuratori Centering a div on a blank html page is one thing, centering a div while different parts of the dom tree use different layout schemes with z-index hacks littered all over is another thing. You can also look at llvm byte code - that is also quite informative.

@cmuratori one small loop, its generated assembly, then change one thing and look again. that feels like a much friendlier way in than starting with an instruction manual

@cmuratori It's also genuinely fun to build things in assembly. I'm not saying people totally exaggerate the impracticality of using it for larger projects, but you can easily structure projects in assembly just as in other languages to be manageable and extensible.
