News for hackers. Stuff that matters.
Re:Ask HN: Is there evidence regarding PG's theory about pow... by DasIch on Monday April 11, 2016 @12:17AM (#11469594)
Python doesn't store the entire AST at runtime. You can hook into the import process and modify code before it's compiled to bytecode. You can modify the bytecode at runtime but not any that's on the stack.

Python is also not all that slow, CPython is slow-ish but it's has effectively no optimizations at all. PyPy which has decent optimizations is actually fairly fast and getting faster with every release.

Re:Ask HN: Is there evidence regarding PG's theory about pow... by Alphasite_ on Monday April 11, 2016 @12:19AM (#11469603)
ZipPy is damn fast from what I've seen.
Re:Ask HN: Is there evidence regarding PG's theory about pow... by stray on Monday April 11, 2016 @04:47PM (#11474954)
Isn't startup time painful though?
Re:Ask HN: Is there evidence regarding PG's theory about pow... by Alphasite_ on Friday April 15, 2016 @01:37AM (#11502420)
Probably, but if pure runtime performance is a concern it should not be a huge issue and I imagine nail gin or something similar would help.