RubyInline: June 2009 Archives

Inline allows you to write foreign code within your ruby code. It automatically determines if the code in question has changed and builds it only when necessary. The extensions are then automatically loaded into the class/module that defines it.

You can even write extra builders that will allow you to write inlined code in any language. Use Inline::C as a template and look at Module#inline for the required API.

Changes:

3.8.2 / 2009-06-23

Corey sez "I decided to see what sort of speed-up I could get just doing a straight brute-force sort. First, I wanted a pure Ruby implementation. Next, I wanted a RubyInline version. Finally, I wanted to use RubyInline with Thrust. Here is the code I used."

The numbers? Bad ASS!

(Thrust is a C++ library that uses the GPU for parallel operations.)

About this Archive

This page is a archive of entries in the RubyInline category from June 2009.

RubyInline: October 2008 is the previous archive.

RubyInline: August 2009 is the next archive.

Find recent content on the main index or look in the archives to find all content.

Pages

Powered by Movable Type 4.32-en