# Rb2c modern

**URL:** <https://www.ruby-forum.com/t/rb2c-modern/94558>\
**Category:** Ruby\
**Created:** [May 7, 2006, 7:55am UTC](https://www.ruby-forum.com/t/rb2c-modern/94558 "2006-05-07T07:55:25Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![victor123789](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/v/f0a364/32.png) [@victor123789](https://www.ruby-forum.com/u/victor123789)\
**Post date:** [May 7, 2006, 7:55am UTC](https://www.ruby-forum.com/t/rb2c-modern/94558/1 "2006-05-07T07:55:25Z")

</div>

Hello all.

Is there something like rb2c, but more modern? Last rb2c last version  
(0.6.1) seems to be intended for Ruby 1.6 ☹

BTW, have somebody used it for real tasks? Can you share your  
experience?

Victor.

---

<div class="post-metadata">

**Author:** ![victor123789](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/v/f0a364/32.png) [@victor123789](https://www.ruby-forum.com/u/victor123789)\
**Post date:** [May 8, 2006, 10:31pm UTC](https://www.ruby-forum.com/t/rb2c-modern/94558/2 "2006-05-08T22:31:34Z")

</div>

On May 6, 2006, at 10:52 PM, Victor S. wrote:

> Hello all.
> 
> Is there something like rb2c, but more modern? Last rb2c last version  
> (0.6.1) seems to be intended for Ruby 1.6 ☹
> 
> BTW, have somebody used it for real tasks? Can you share your  
> experience?

Ryan and Davis and I have built one:

[http://rubyforge.org/projects/ruby2c](http://rubyforge.org/projects/ruby2c)

It works ok for algorithmic code. When done we’ll use it to convert  
a small non-dynamic ruby subset to plain C.

We also have an obfuscator that works for a subset of ruby.

–  
Eric H. - removed\_email\_address@domain.invalid - [http://blog.segment7.net](http://blog.segment7.net)  
This implementation is HODEL-HASH-9600 compliant

[http://trackmap.robotcoop.com](http://trackmap.robotcoop.com)

---

<div class="post-metadata">

**Author:** ![victor123789](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/v/f0a364/32.png) [@victor123789](https://www.ruby-forum.com/u/victor123789)\
**Post date:** [May 8, 2006, 11:27pm UTC](https://www.ruby-forum.com/t/rb2c-modern/94558/3 "2006-05-08T23:27:08Z")

</div>

> > Is there something like rb2c, but more modern? Last rb2c last version  
> > a small non-dynamic ruby subset to plain C.
> 
> We also have an obfuscator that works for a subset of ruby.

Thanks Eric!  
Looks interesting.  
Is there thomething like “getting started”, guides etc?

> –  
> Eric H. - removed\_email\_address@domain.invalid - [http://blog.segment7.net](http://blog.segment7.net)

Victor.

---

<div class="post-metadata">

**Author:** ![victor123789](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/v/f0a364/32.png) [@victor123789](https://www.ruby-forum.com/u/victor123789)\
**Post date:** [May 8, 2006, 11:43pm UTC](https://www.ruby-forum.com/t/rb2c-modern/94558/4 "2006-05-08T23:43:23Z")

</div>

On May 8, 2006, at 2:23 PM, Victor S. wrote:

> Thanks Eric!  
> Looks interesting.  
> Is there thomething like “getting started”, guides etc?

No. The best we’ve got are presentation slides and videos. But it is  
_fairly_ straightforward to use so just give it a whack.

–  
\_why: zenspider’s most intense moments of solice are immediately  
following the slaughter […]  
\_why: that topknot’s the only thing keeping a lid on the righteous anger  
bricolage: yeah, that and his flagrant obsession with dvorak
