From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: References: From: =?UTF-8?B?QXJhbSBIxIN2xINybmVhbnU=?= Date: Mon, 27 Jul 2015 14:08:17 +0200 Message-ID: To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [9fans] Harvey OS: A new OS inspired heavily by Plan 9 Topicbox-Message-UUID: 63d5317c-ead9-11e9-9d60-3106f5b1d025 GCC is not a very slow C compiler in term of compiled LOC/s (although the difference in speed between -O0 and -O3 is embarrassing). What makes compiling Unix software so slow, is the way source code is organised, headers which include headers, cpp having to generate lots of code, and all the other Unix crap. Once I investigated why a 15MLOC project took over an hour to build. Apparently, on average, each file was processed over 2,000 times; precompiled headers helped somewhat, but even with precompiled headers, each header was still individually compiled over 200 times. I'd expect GCC compiling Plan 9 at a speed reasonably comparable to kencc. I will refrain making comments on how wise that is, however. --=20 Aram H=C4=83v=C4=83rneanu