Deprecated: Assigning the return value of new by reference is deprecated in /home/worldofb/public_html/llvmruby/wordpress-llvmruby/wp-settings.php on line 468

Deprecated: Assigning the return value of new by reference is deprecated in /home/worldofb/public_html/llvmruby/wordpress-llvmruby/wp-settings.php on line 483

Deprecated: Assigning the return value of new by reference is deprecated in /home/worldofb/public_html/llvmruby/wordpress-llvmruby/wp-settings.php on line 490

Deprecated: Assigning the return value of new by reference is deprecated in /home/worldofb/public_html/llvmruby/wordpress-llvmruby/wp-settings.php on line 526

Deprecated: Assigning the return value of new by reference is deprecated in /home/worldofb/public_html/llvmruby/wordpress-llvmruby/wp-includes/cache.php on line 103

Deprecated: Assigning the return value of new by reference is deprecated in /home/worldofb/public_html/llvmruby/wordpress-llvmruby/wp-includes/query.php on line 21

Deprecated: Assigning the return value of new by reference is deprecated in /home/worldofb/public_html/llvmruby/wordpress-llvmruby/wp-includes/theme.php on line 618
llvmruby is fun at llvmruby.org

llvmruby.org

llvmruby is fun

2 comments

I recently wrote an extension for Ruby which allows to use the LLVM compiler infrastructure from inside the Ruby interpreter. While still in development, it already supports enough of the LLVM API to write interesting programs. I have gotten the library to the point that it is able to interact in interesting ways with the native internals of the interpreter, meaning that it is possible to create the equivalent of C Ruby extensions from within Ruby itself and just-in-time (JIT) compile them.

I think you will agree that generating abstract assembler with Ruby is much more fun than generating it from C++.

The project now lives on git hub: http://github.com/tombagby/llvmruby

I have developed/used it only on my home computer, which is 64bit Linux machine. I imagine that it errors hilariously on 32bit machines. It does, however, have nice extconf and should build in a nice/standard way. I am very interested to hear of your build problems with it on different platforms such that I can fix it!

Share and enjoy.

Written by tom

August 25th, 2008 at 1:40 am

Posted in Uncategorized

2 Responses to 'llvmruby is fun'

Subscribe to comments with RSS or TrackBack to 'llvmruby is fun'.

  1. ?????? ??=)))))…

    ?????????? ????????? I recently wrote an extension for Ruby which allows to use the LLVM compiler infrastructure from inside the Ruby interpreter…..

    Alex Gordon

    8 Apr 10 at 12:03 pm

  2. ????????, ??? ? ??? ????????, ?? ??? ?????????? ??????? ?????? ??????????….

    ??????? ??????? ??????? I have gotten the library to the point that it is able to interact in interesting ways […….

    Kylie Batt

    20 Apr 10 at 3:13 pm

Leave a Reply