CPython internals: Codewalk through the Python interpreter source code (2014)
1–10 of 18 posts
Re: CPython internals: Codewalk through the Python interpreter source code (2014)
#2Re: CPython internals: Codewalk through the Python interpreter source code (2014)
#3Pedagogically, I wonder what the tradeoffs for using Python are. I haven't looked at it, in part because I've heard comments to the effect that it's a big hairy mess inside.
On the upside, students have a better chance of actually needing the knowledge than with Lua, for instance.
Re: CPython internals: Codewalk through the Python interpreter source code (2014)
#4Looks interesting. Pedagogically, I wonder what the tradeoffs for using Python are. I haven't looked at it, in part because I've heard comments to the effect that it's a big hairy mess inside. On the upside, students have a better chance of actually needing the knowledge than with Lua, for instance.
Re: CPython internals: Codewalk through the Python interpreter source code (2014)
#5Looks interesting. Pedagogically, I wonder what the tradeoffs for using Python are. I haven't looked at it, in part because I've heard comments to the effect that it's a big hairy mess inside. On the upside, students have a better chance of actually needing the knowledge than with Lua, for instance.
[author here] it's not too bad, actually; i mean there's the usual hairiness of anything implemented in C, but the interpreter doesn't try to do much in terms of clever optimizations, so the code base is fairly readable for a production-grade system. check it out!
Still, the interpreter I've previously looked at is Lua, so it's a lot bigger.
Re: CPython internals: Codewalk through the Python interpreter source code (2014)
#6Re: CPython internals: Codewalk through the Python interpreter source code (2014)
#7Re: CPython internals: Codewalk through the Python interpreter source code (2014)
#8P Guo is a Guy Steele level thinker and lecturer. This is good stuff, pay attention.