On Wed, Apr 8, 2009 at 9:39 AM, Thomas Hruska <[email protected]> wrote:
> piyush_4love_4ever wrote:
>> i want to know in which language , the c-compiler is written first
>
> Great question! "Chicken or the egg" problems are something you will
> experience often in your programming career and you pretty much have to
> muddle your way through them until you achieve success.
>
> The original C compilers were probably written in pure assembler.
> However, these days, C/C++ compilers and libraries are written in a C
> and assembler mix. Assembler for the stuff that needs raw performance,
> C for the rest so the code base can be more easily maintained.
I think in the early days of Unix that was what helped C become
popular across many platforms, because it was written in C and more
portable than older compilers that were written in non-portable
assembly language. This also helped Unix gain momentum because it was
also written in C and easily ported to multiple hardware platforms.
-- Brett
------------------------------------------------------------
"In the rhythm of music a secret is hidden;
If I were to divulge it, it would overturn the world."
-- Jelaleddin Rumi