http://www.ntecs.de/blog/articles/2007/09/21/cplusruby-gluing-c-and-ruby
Thanks for the announce. I will keep an eye on your project when it
comes to speed with Rubyk. By the way, did anyone play with
RubyInline+Ruby2c like in the example below ?
require ‘inline’
class MyTest
def factorial(n)
f = 1
n.downto(2) { |x| f *= x }
f
end
inline(:Ruby) do |builder|
builder.optimize :factorial
end
end
Gaspard