[bitc-dev] Portability

Rohan Lean mercury2k at spamfreemail.de
Sat Jan 7 08:28:33 EST 2006


Hello,
in the BitC language specification it is stated that BitC doesn't  
support proper tail recursion because you chose C as a target  
language for BitC in order to achieve portability.
I was wondering why you chose C as that target language instead of  
another language like C-- (http://www.cminusminus.org/), that is in  
my opinion better suited for that task. C-- isn't fully portable in  
that it exposes some architecture details, but writing a front-end  
that produces efficient C-- code for a wide range of architectures  
should be easier than to do the same with C.
I think that, although alternatives like C-- aren't very mature yet,  
constraining BitC because of the limitations of C is not good.

--
Rohan Lean


More information about the bitc-dev mailing list