6

I've browsed through many JIT libraries. But I'd like to learn how to write one.

Softwire looked like nice. Though what the emitter interface should do? Can I do something better than existing libraries? How do I support inline caching?

1
  • 1
    Can you do something better than existing libraries? Sure, if you have more time and experience than the combined time and experience that have gone into the existing libraries. Commented Jul 20, 2010 at 18:10

1 Answer 1

4

I would recommend you join an existing team instead of starting from scratch. The PyPy team's work on this area is very interesting and is currently under development, so may be a good place to start and seek more information, and then perhaps help.


http://codespeak.net/pypy/dist/pypy/doc/jit/overview.html

http://codespeak.net/pypy/dist/pypy/doc/jit/pyjitpl5.html

http://codespeak.net/svn/pypy/extradoc/talk/icooolps2009/bolz-tracing-jit-final.pdf


Other good readings on the PyPy blog:

http://morepypy.blogspot.com/2010/05/efficient-and-elegant-regular.html

http://morepypy.blogspot.com/2010/06/jit-for-regular-expression-matching.html

http://morepypy.blogspot.com/search/label/jit


This may interest you also:

http://indefinitestudies.org/2010/02/08/creating-a-toy-virtual-machine-with-pypy/

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.