From: Tony Arcieri Date: 2010-10-06T13:13:39+09:00 Subject: Re: how can we make a ruby compiler --001485f7cbf468d8010491eb0056 Content-Type: text/plain; charset=ISO-8859-1 On Tue, Oct 5, 2010 at 9:54 PM, Mohit Sindhwani wrote: > I tend to write Ruby code that avoids the advanced constructs of Ruby, > making translation to C++ easier. > This is pretty much a staple of static type inferencers for dynamic languages that output C++... many language features simply cannot be supported using this approach, most notably eval, and eval is pretty much the most powerful tool for Ruby metaprogramming. Source translation to C++ would preclude many of the things which make Ruby fun and interesting. -- Tony Arcieri Medioh! A Kudelski Brand --001485f7cbf468d8010491eb0056--