logoalt Hacker News

j2kunyesterday at 10:08 PM2 repliesview on HN

I don't believe Python had a compiler in 2006...


Replies

chubottoday at 12:47 AM

Python has always had a bytecode compiler that did some minor optimizations, since its inception in the 90's. The issue is that optimizations are very hard to do correctly in the compiler because Python is so dynamic. Any piece of code could suddenly redefine mytype.__add__() and so forth.

paradox460yesterday at 11:35 PM

It had a runtime