Sujet : Re: C23 on MSVC
De : 643-408-1753 (at) *nospam* kylheku.com (Kaz Kylheku)
Groupes : comp.lang.cDate : 23. Jan 2025, 22:45:34
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <20250123134510.749@kylheku.com>
References : 1 2 3 4 5
User-Agent : slrn/pre1.0.4-9 (Linux)
On 2025-01-23, James Kuyper <
jameskuyper@alumni.caltech.edu> wrote:
On 1/22/25 21:28, Jack Lemmon wrote:
...
compile it to be used by other objects. This is the same as in C or
C++. First release were in assembly and any enhancement were in the
same language = C or C++ respectively.
>
Not quite - the original C++ compiler was Cfront, which produced C code
which was then compiled by a conventional C compiler. Per Wikipedia:
>
"As Cfront was written in C++, it was a challenge to bootstrap on a
machine without a C++ compiler/translator. Along with the Cfront C++
sources, a special "half-preprocessed" version of the C code resulting
from compiling Cfront with itself was also provided. This C code was to
be compiled with the native C compiler, and the resulting executable
could then be used to compile the Cfront C++ sources."
The code is available, up through some final release back around 1994.
I was looking at it some time ago.
-- TXR Programming Language: http://nongnu.org/txrCygnal: Cygwin Native Application Library: http://kylheku.com/cygnalMastodon: @Kazinator@mstdn.ca