News for hackers. Stuff that matters.
Re:How fast can we make interpreted Python? by krichman on Tuesday June 25, 2013 @11:51PM (#5944088)
This is great, it's taken me months to learn all the things you just listed. Do you know of anywhere where this type of thing is discussed?
Re:How fast can we make interpreted Python? by cwzwarich on Wednesday June 26, 2013 @12:11AM (#5944143)
I mostly picked it up by working on interpreters and compilers, doing performance analysis on the generated code, trying to find all papers on the subject (some of them good, some of them really bad - you have to filter them yourself), and reading about what other implementations have been doing. It's also important to be able to run experiments quickly; you don't want to have to get every patch production-worthy before doing basic performance analysis.
Re:How fast can we make interpreted Python? by krichman on Wednesday June 26, 2013 @11:11PM (#5950539)
Aha! So I am on the right track! :)
Re:How fast can we make interpreted Python? by iskander on Tuesday June 25, 2013 @11:59PM (#5944111)
Language implementation sometimes gets discussed up on lambda-the-ultimate . Also, searching for anything and everything Mike Pall has written about VM design is probably worthwhile. Mozilla developers also have some pretty interesting blog posts about TraceMonkey, IonMonkey and all the other monkeys.
Re:How fast can we make interpreted Python? by krichman on Wednesday June 26, 2013 @11:15PM (#5950554)
I've actually seen most of those, I guess I'm more advanced than I thought :)
Re:How fast can we make interpreted Python? by iskander on Thursday June 27, 2013 @11:59AM (#5952968)
You're probably ready to write your own JIT -- I'd recommend making one for Python ;-)

I think after the low-hanging fruit above, there's lot of weird interpreter/compiler folklore on old usenet posts, Forth VM designs, random papers (like the Register vs. Stack machine showdown).

There are also some enlightening books like "Lisp in Small Pieces".

I'm at SciPy right now and I was just talking to the Julia developers yesterday about the need for a textbook, website, or wiki to gather all this disparate info in one place.

Want to help us get it started?

Re:How fast can we make interpreted Python? by krichman on Thursday June 27, 2013 @11:22PM (#5956009)
JIT? ...as soon as I get over my perfectionism long enough to finish the parser :)

I'd enjoy being on a project like that. Can I send you an email?

Re:How fast can we make interpreted Python? by iskander on Friday June 28, 2013 @11:38AM (#5958543)
Sure, it's alex dot rubinsteyn atop google's excellent email service.