Path: csiph.com!weretis.net!feeder6.news.weretis.net!news.misty.com!news.iecc.com!.POSTED.news.iecc.com!nerds-end From: Thomas Koenig Newsgroups: comp.compilers Subject: Re: Portable Software Date: Sat, 8 Apr 2023 18:25:06 -0000 (UTC) Organization: news.netcologne.de Sender: johnl@iecc.com Approved: comp.compilers@iecc.com Message-ID: <23-04-010@comp.compilers> References: <23-03-001@comp.compilers> <23-03-017@comp.compilers> <23-03-022@comp.compilers> <23-03-029@comp.compilers> <23-03-032@comp.compilers> <23-03-042@comp.compilers> <23-04-005@comp.compilers> <23-04-006@comp.compilers> <23-04-007@comp.compilers> Injection-Info: gal.iecc.com; posting-host="news.iecc.com:2001:470:1f07:1126:0:676f:7373:6970"; logging-data="72132"; mail-complaints-to="abuse@iecc.com" Keywords: design, history, comment Posted-Date: 08 Apr 2023 15:58:30 EDT X-submission-address: compilers@iecc.com X-moderator-address: compilers-request@iecc.com X-FAQ-and-archives: http://compilers.iecc.com Xref: csiph.com comp.compilers:3452 Anton Ertl schrieb: > Most self-respecting languages have their compiler(s) > implemented in the language itself, resulting in having to bootstrap. This is a bit complicated for GCC and LLVM. For both, the middle end (and back end) is implemented in C++, so a C++ interface at class level is required, and that is a bit daunting. Examples: Gnat (GCC's Ada front end) is written in Ada, and its Modula-2 front end is written in Modula-2. On the other hand, the Fortran front end is written in C++ (well, mostly C with C++ features hidden behind macros). The very first Fortran compiler, of course, was written in assembler. [It was, but Fortran H, the 1960s optimizing compiler for S/360 was written in Fortran with a few data structure extensions. -John]