Freaking computers, how do they work?
summary
Shows exactly how high-level code becomes CPU work: assembly for x86 32-bit, register layout and stack behavior, and concrete demos. Compares a looped “dumb” multiply (~28 instruction cycles) to the CPU imul (one instruction, one cycle), calls assembly from C, exposes the native DLL to C# via P/Invoke, and triggers it from JavaScript through a small web server. Proves the path by changing assembly (adds 1000) and rebuilding to show the running code. EAX/EBX/ECX/EDX
AI-written summary · about
chapters (4)
related talks
27mLearn about CPUs and Assembly on an interactive Playground in the Browser
25mJavaScript engines how do they even?
01h 09mComputer Architecture, C++, and High Performance
26mJavaScript JITs
13mBaby Demuxed's First Assembly Language Function
22mVirtual Machines, JavaScript and Assembler
01h 03mto pass and return, the story of functions, values and compilers
26mVirtual Machines, JavaScript and Assembler
