LWN.net Logo

Topaz: a new Ruby implementation

Topaz: a new Ruby implementation

Posted Feb 6, 2013 21:42 UTC (Wed) by dave_malcolm (subscriber, #15013)
In reply to: Topaz: a new Ruby implementation by yokem_55
Parent article: Topaz: a new Ruby implementation

I would expect it to be fast on real code: PyPy is very much about optimizing real-world idiomatic code, rather than microbenchmarks.

From my reading of the sources topaz gets a tracing JIT compiler "for free" via the RPython toolchain (magically injected via
the jitdriver.jit_merge_point in the bytecode dispatch loop here:
https://github.com/topazproject/topaz/blob/master/topaz/i... )

Looking at the topaz source tree, the only benchmark (so far) looks reasonable to my (non-Ruby-expert) eyes:
https://github.com/topazproject/topaz/blob/master/bench/b...

(disclosure: I'm an occasional PyPy contributor)


(Log in to post comments)

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds