Not logged in
Log in now
Create an account
Subscribe to LWN
LWN.net Weekly Edition for December 5, 2013
Deadline scheduling: coming soon?
LWN.net Weekly Edition for November 27, 2013
ACPI for ARM?
LWN.net Weekly Edition for November 21, 2013
Topaz: a new Ruby implementation
Posted Feb 6, 2013 20:16 UTC (Wed) by tnoo (subscriber, #20427)
Maybe Pypy can acheive similar (or better?) results without mixing languages?
Posted Feb 6, 2013 21:32 UTC (Wed) by davide.del.vento (guest, #59196)
Posted Feb 6, 2013 21:52 UTC (Wed) by tnoo (subscriber, #20427)
Posted Feb 7, 2013 13:57 UTC (Thu) by gwolf (subscriber, #14632)
Of course, Ruby is not prone to be a speed demon, but this also helps get the critical code done in a fast language.
Posted Feb 24, 2013 11:30 UTC (Sun) by JanC_ (guest, #34940)
So it's not about inlining C code, but an alternative to writing C modules/gems/whatever.
Posted Feb 6, 2013 21:42 UTC (Wed) by dave_malcolm (subscriber, #15013)
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:
Looking at the topaz source tree, the only benchmark (so far) looks reasonable to my (non-Ruby-expert) eyes:
(disclosure: I'm an occasional PyPy contributor)
Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds