|
|
Orchid XP v7 <voi### [at] devnull> wrote:
> nemesis wrote:
> > Alain <ele### [at] netscapenet> wrote:
> >> The first C compiler was writen and compiled in C.
> >
> > If it was the first, that means there was no C compiler, so the writers had to
> > hand compile the compiler by direct translating it to assembly and then using
> > that binary to compile it again. That should've been quite a straightforward
> > task, as C is very close to assembly and it was just a first unoptimized
> > version anyway.
> >
> > not so sure about the feasibility of having to hand compile a huge Haskell
> > codebase like GHC... *gasp*...
>
> Well that's easy - it wasn't so huge back then! ;-)
Even if that was the case, hand compiling Haskell to assembly (or more probably,
C) is nuts. Haskell semantics is a long way off from assembly/C semantics.
More likely they first wrote the compiler in C and then went on to rewrite in
Haskell...
Post a reply to this message
|
|