On occasion, you need to take something apart and put it back
together to fully understand it. I’m sure many of the people reading
this article will have been one of those kids. Kids who took a
screwdriver to something, just to see whats inside it. It’s a
thrill, but its a whole different skill to put it back together.
The working machine on the outside obscures a network of patterns,
patches, and workarounds in its internals. Programmers are used to
working on the guts of a system and manipulating the ugly-inner
workings to get it to follow some simple instructions.
This experiment was no different. I wanted to see if I could write a
CPython Extension in 100% assembly.