LWN.net Logo

Topaz: a new Ruby implementation

Topaz: a new Ruby implementation

Posted Feb 7, 2013 13:57 UTC (Thu) by gwolf (subscriber, #14632)
In reply to: Topaz: a new Ruby implementation by tnoo
Parent article: Topaz: a new Ruby implementation

I might not be following you correctly... But what you describe sounds pretty much like Ruby's Inline gem/module/library/whatever-name-you-fashion, which allows you to mix snippets of C within the body of Ruby code.

Of course, Ruby is not prone to be a speed demon, but this also helps get the critical code done in a fast language.


(Log in to post comments)

Topaz: a new Ruby implementation

Posted Feb 24, 2013 11:30 UTC (Sun) by JanC_ (guest, #34940) [Link]

Cython allows you to write Python-like code that has (optional) type annotations and other ways to help the Cython compiler to create faster code than would be possible when compiling pure Python without a JIT (a JIT as used in PyPy can take advantage of knowing what type is used at runtime).

So it's not about inlining C code, but an alternative to writing C modules/gems/whatever.

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