# ANN: ruby2c 1.0.0 beta 5 released

**URL:** <https://www.ruby-forum.com/t/ann-ruby2c-1-0-0-beta-5-released/60342>\
**Category:** Ruby\
**Created:** [May 12, 2006, 11:51am UTC](https://www.ruby-forum.com/t/ann-ruby2c-1-0-0-beta-5-released/60342 "2006-05-12T11:51:25Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![aguynamedryan](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/43a26b/32.png) [@aguynamedryan](https://www.ruby-forum.com/u/aguynamedryan)\
**Post date:** [May 12, 2006, 11:51am UTC](https://www.ruby-forum.com/t/ann-ruby2c-1-0-0-beta-5-released/60342/1 "2006-05-12T11:51:25Z")

</div>

After almost a year, I’m pleased to announce that another beta of  
ruby2c is available. The project stagnated for a bit, but is coming  
back in force! We’ve solidified this release by gemifying it,  
splitting up our tail end translator to convert to either ANSI C or  
ruby internals C, and making it much more happy with other tool-  
chains (like our obfuscator).

ruby\_to\_c translates a static ruby subset to C. Hopefully it works.

NOTE ! NOTE ! NOTE ! NOTE ! NOTE ! NOTE ! NOTE ! NOTE ! NOTE

```
                THIS IS BETA SOFTWARE!

```

NOTE ! NOTE ! NOTE ! NOTE ! NOTE ! NOTE ! NOTE ! NOTE ! NOTE

RubyToC has the following modules:

```
Rewriter - massages the sexp into a more consistent form.
TypeChecker - type inferencer for the above sexps.
RubyToRubyC - converts a ruby (subset) sexp to ruby interals C.
RubyToAnsiC - converts a ruby (subset) sexp to ANSI C.

```

and the following tools:

```
translate.rb - Translates a given file to C.

```

FEATURES/PROBLEMS:

- This is a preview release! BETA BETA BETA! Do NOT use this!
- Please contact me or Eric (drbrain of segment7 dot net) if you:
  - have any feedback!
  - have any changes!
  - want to work on this!

CHANGES:

- 6 minor enhancements:
  - Split RubyToC to RubyToRubyC and RubyToAnsiC.
  - Extended Environment to be more flexible for various situations.
  - Removed propaganda (bloat) from release.
  - Gemified and reorganized things. Support still needs splitting up.
  - Flipped a lot of internal naming to use Unique.
  - Added ruby\_to\_c\_show (like parse\_tree\_show).

- 4(ish) bug fixes:
  - Use ivars instead of cvars so inheritance won’t bugger the  
translator.
  - Corrected unsupported node lists in pipeline.
  - Fixed bugs for splat args, iters, optional args, method name map.
  - Fixed many other bugs.

–  
removed\_email\_address@domain.invalid - [http://blog.zenspider.com/](http://blog.zenspider.com/)  
[http://rubyforge.org/projects/ruby2c/](http://rubyforge.org/projects/ruby2c/)  
[http://rubyforge.org/projects/parsetree/](http://rubyforge.org/projects/parsetree/)  
[http://rubyforge.org/projects/rubyinline/](http://rubyforge.org/projects/rubyinline/)  
[Seattle.rb | Home](http://www.zenspider.com/seattle.rb)
