Java > Scala
Paulo Pinto
pjmlp at progtools.org
Fri Dec 2 12:45:42 PST 2011
Am 02.12.2011 18:49, schrieb Timon Gehr:
> On 12/02/2011 02:09 PM, Paulo Pinto wrote:
>> The GHC compiler is written in Haskell, which is the reference
>> implementation.
>>
>
> GHC has long been completely dependent on a C compiler though, because
> it could only compile the Haskell code to C and then invoked GCC afaik.
So what?
Many compiler implementors use a target language instead of pure native
code generation to spare effort developing a proper compiler backend.
Current GHC versions compile directly to native code, even though you
can still use the old C code generation backend.
More information about the Digitalmars-d
mailing list