Can confirm that mikeash knows a lot about this stuff and posted a lot about it.
Also bbum, he does a lot of posts on SO about this stuff, and I thought he wrote blog posts on the subject too but can't seem to find them.
Also bbum, he does a lot of posts on SO about this stuff, and I thought he wrote blog posts on the subject too but can't seem to find them.
https://mikeash.com/pyblog/
It has posts where he recreates the functionality of the runtime, but without the optimizations that are in Apples runtime (which is open source).