Related articles |
---|
[11 earlier articles] |
Re: Writing a compiler lkrupp@pssw.nospam.com.invalid (Louis Krupp) (2008-11-01) |
Re: Writing a compiler marcov@stack.nl (Marco van de Voort) (2008-11-02) |
Re: Writing a compiler chris.dollin@hp.com (Chris Dollin) (2008-11-03) |
Re: Writing a compiler lkrupp@pssw.com (Louis Krupp) (2008-11-03) |
Re: Writing a compiler alexc@TheWorld.com (Alex Colvin) (2008-11-03) |
Re: Writing a compiler gneuner2@comcast.net (George Neuner) (2008-11-04) |
Re: Writing a compiler gneuner2@comcast.net (George Neuner) (2008-11-04) |
Re: Writing a compiler marcov@stack.nl (Marco van de Voort) (2008-11-06) |
Re: Writing a compiler james.harris.1@googlemail.com (James Harris) (2008-11-09) |
Re: Writing a compiler james.harris.1@googlemail.com (James Harris) (2008-11-09) |
From: | George Neuner <gneuner2@comcast.net> |
Newsgroups: | comp.compilers |
Date: | Tue, 04 Nov 2008 22:29:03 -0500 |
Organization: | A noiseless patient Spider |
References: | 08-10-037 08-10-046 08-10-047 08-11-003 08-11-008 08-11-009 08-11-014 08-11-015 |
Keywords: | C++ |
Posted-Date: | 05 Nov 2008 18:48:53 EST |
On Mon, 3 Nov 2008 22:17:33 +0000 (UTC), Alex Colvin
<alexc@TheWorld.com> wrote:
>>Tony said, "From what I've read, it seems that CFront couldn't implement
>>the whole language."
>
>>I said I thought it could, at least theoretically, although modern
>>compilers which implement the current standard all compile to machine code.
>
>Runtime and linker features such as exceptions and template instantiation
>would be very difficult to generate in C.
Exceptions are not a problem - there are a number of implementations
that would be feasible to code in C. You might not be able to code
the fastest possible implementation, but it would certainly work.
Templates I'm not certain about but I can't immediately think of
anything that would preclude implementing them.
George
Return to the
comp.compilers page.
Search the
comp.compilers archives again.