🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.c
Article #21

Re: Taming The Switch-Statement

#21
From: bart
Date: Wed, 07 Oct 2026 10:39
22 lines
2639 bytes
On 07/10/2026 07:28, Lawrence D’Oliveiro wrote:
> On Wed, 7 Oct 2026 04:19:45 -0000 (UTC), Waldek Hebisch wrote:
> 
>> Concerning "amazing", relative to machine speed such compile speeds
>> were available in the past. But most of old language tools vanished
>> and surviving ones got relatively slower.
> 
> The Linux kernel is currently up to about 38 million lines of code,
> last I heard. How long do you think it would take to compile all that?
> On a reasonably grunty machine, of course, but *without* resorting to
> a RAM disk?

On x64 that would equate to roughly a 400MB binary. That is quite a 
hefty 'kernel'!

Or maybe only some of that code will be compiled for any particular 
target. I heard of a figure around 5% which would make it 2Mloc.

I don't know if it still has to trawl through the other 95% to extract 
it, or it is organised more sensibly.

Technical Details
Message-ID: <11a57ho$2pfdl$1@dont-email.me>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
References: <119qf6l$2rmg3$1@dont-email.me> <119rau4$35ugq$1@dont-email.me> <119uo2c$3kc0t$1@paganini.bofh.team> <119uqnv$d6j2$1@dont-email.me> <20261005143559.157@kylheku.com> <11a1arj$1e8ks$1@dont-email.me> <11a295r$1lqal$3@dont-email.me> <11a2e2m$ef4o$2@dont-email.me> <11a2j83$1qu9n$1@dont-email.me> <11a2maf$1soc7$1@dont-email.me> <11a2vrn$20jj3$1@dont-email.me> <EI7xS.906$aNSb.21@fx20.iad> <11a37gv$23ruj$1@dont-email.me> <11a3vcj$88e7$1@paganini.bofh.team> <11a43hl$2e5k2$1@dont-email.me> <11a4h8v$eeb8$1@paganini.bofh.team> <11a4oph$2jpr4$2@dont-email.me>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
From: bart <bc@freeuk.com>
Newsgroups: comp.lang.c
Subject: Re: Taming The Switch-Statement
Date: Wed, 7 Oct 2026 11:39:53 +0100
Organization: A noiseless patient Spider
Lines: 22
Message-ID: <11a57ho$2pfdl$1@dont-email.me>
References: <119qf6l$2rmg3$1@dont-email.me> <119rau4$35ugq$1@dont-email.me>
 <119uo2c$3kc0t$1@paganini.bofh.team> <119uqnv$d6j2$1@dont-email.me>
 <20261005143559.157@kylheku.com> <11a1arj$1e8ks$1@dont-email.me>
 <11a295r$1lqal$3@dont-email.me> <11a2e2m$ef4o$2@dont-email.me>
 <11a2j83$1qu9n$1@dont-email.me> <11a2maf$1soc7$1@dont-email.me>
 <11a2vrn$20jj3$1@dont-email.me> <EI7xS.906$aNSb.21@fx20.iad>
 <11a37gv$23ruj$1@dont-email.me> <11a3vcj$88e7$1@paganini.bofh.team>
 <11a43hl$2e5k2$1@dont-email.me> <11a4h8v$eeb8$1@paganini.bofh.team>
 <11a4oph$2jpr4$2@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 07 Oct 2026 10:39:53 +0000 (UTC)
Injection-Info: dont-email.me;
	logging-data="2932149"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX19sz2tiYjHpnpsLUniw3/Yn"; posting-host="ddea08e9999a8df42a3f6de53c7cc773"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:prRVO6mv0DpqlxmxGQ71VargQbc= sha256:g4zocVnitVqNAkel6w923oZ1Ets+j1ro2sPuiIHvtNM=
	sha1:xidaPNhN8VNaWUGL/X64ym8YYaQ= sha256:gjQUvGG4VtVYdFeQLdiPizSTxhdqQmK7P6e5vMsAYzs=
In-Reply-To: <11a4oph$2jpr4$2@dont-email.me>
Content-Language: en-GB