title: Convert Ruby to low level languages?
body: <p>I have all kind of scripting with Ruby:</p>
  
  <pre><code>rails (symfony)
  ruby (php, bash)
  rb-appscript (applescript)
  </code></pre>
  
  <p>Is it possible to replace low level languages with Ruby too?</p>
  
  <p>I write in Ruby and it converts it to java, c++ or c.</p>
  
  <p>Cause People say that when it comes to more performance critical tasks in Ruby, you could extend it with C. But the word extend means that you write C files that you just call in your Ruby code. I wonder, could I instead use Ruby and convert it to C source code which will be compiled to machine code. Then I could "extend" it with C but in Ruby code.</p>
  
  <p>That is what this post is about. Write everything in Ruby but get the performance of C (or Java).</p>
  
  <p>The second advantage is that you don't have to learn other languages.</p>
  
  <p>Just like HipHop for PHP.</p>
  
  <p>Are there implementations for this?</p>