Anders Höãkersten <chucky / dtek.chalmers.se> writes: > The focus of C-- is different from that of Neko. C-- is designed as a > portable assembly language. What that means is that we (when writing a > Ruby compiler for C--) write code that targets "x86 C--". In other > words, our code and the C-- compiler can take advantage of knowing that > the underlying machine has certain characteristics. The C-- developers > claim that in theory, generating C-- could lead to perhaps 90-95% the > speed of generating native x86 assembler (unfortunately, current C-- > compilers are not that good). > > Generating good C-- is also much easier than generating x86 assembly > directly (for example, C-- does register allocation for us). Retargeting > our compiler to another platform than x86 should also be relatively easy > - we just have to rewrite some of the platform specific parts. Of > course, that assumes a C-- compiler is available for the platform we > wish to target. While we are at it, did you consider llvm? llvm.cs.uiuc.edu > All the best, > Anders -- Christian Neukirchen <chneukirchen / gmail.com> http://chneukirchen.org