POV-Ray : Newsgroups : povray.off-topic : Additional entropy : Re: Additional entropy Server Time
11 Oct 2024 07:12:57 EDT (-0400)
  Re: Additional entropy  
From: nemesis
Date: 10 Nov 2007 18:30:00
Message: <web.47363eca30d33426362e2b9c0@news.povray.org>
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

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.