So, the pros do it with pure debug or assembly and "assembly coders do it with routines".
https://en.wikipedia.org/wiki/Debug_(command)
https://en.wikipedia.org/wiki/Assembly_language
http://google.com/search?q=assembly+coders+do+it+with+routine
http://ftp.lanet.lv/ftp/mirror/x2ftp/msdos/programming/demosrc/giantsrc.zip
http://youtu.be/j7_Cym4QYe8
MS-DOS 256 bytes, Memories by "HellMood"
http://youtu.be/Imquk_3oFf4
http://www.sizecoding.org/wiki/Memories
http://pferrie.epizy.com/misc/demos/demos.htm
Of course other compilers also exist for different programming languages which is your flavor. I don't anymore like today's Apps that are huge in both RAM and application memory usage and we re using interpreters again. No wonder that smart phones require recharging every now and then.
https://en.wikipedia.org/wiki/Interpreter_(computing)
So now both AI and Python are a very bad power consumption after all...
-Sigma