Deutsch   English   Français   Italiano  
<vi30n2$32dd8$1@dont-email.me>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!news.nobody.at!eternal-september.org!feeder2.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Bart <bc@freeuk.com>
Newsgroups: comp.lang.c
Subject: Re: else ladders practice
Date: Mon, 25 Nov 2024 23:20:04 +0000
Organization: A noiseless patient Spider
Lines: 36
Message-ID: <vi30n2$32dd8$1@dont-email.me>
References: <3deb64c5b0ee344acd9fbaea1002baf7302c1e8f@i2pn2.org>
 <vgd3ro$2pvl4$1@paganini.bofh.team> <vgdc4q$1ikja$1@dont-email.me>
 <vgdt36$2r682$2@paganini.bofh.team> <vge8un$1o57r$3@dont-email.me>
 <vgpi5h$6s5t$1@paganini.bofh.team> <vgtsli$1690f$1@dont-email.me>
 <vhgr1v$2ovnd$1@paganini.bofh.team> <vhic66$1thk0$1@dont-email.me>
 <vhins8$1vuvp$1@dont-email.me> <vhj7nc$2svjh$1@paganini.bofh.team>
 <vhje8l$2412p$1@dont-email.me> <86y117qhc8.fsf@linuxsc.com>
 <vi2m3o$2vspa$1@dont-email.me> <g%51P.81844$etE7.62931@fx14.iad>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Tue, 26 Nov 2024 00:20:03 +0100 (CET)
Injection-Info: dont-email.me; posting-host="7636fd12420064b14be779e92db2ffba";
	logging-data="3225000"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1+trW1LqrDF7yDO6+SyTNvO"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:zdesH8XVuUBl7MC+4EFKnGA5ObI=
In-Reply-To: <g%51P.81844$etE7.62931@fx14.iad>
Content-Language: en-GB
Bytes: 2755

On 25/11/2024 21:29, Scott Lurndal wrote:
> Bart <bc@freeuk.com> writes:
>> On 25/11/2024 18:49, Tim Rentsch wrote:
> 
>>
>> I'm trying to think of some computationally intensive app that would run
>> non-stop for several hours without interaction.
> 
> I can think of several - HDL simulators (vcs, et al), system simulators
> like Simh, Qemu, Synopsys Virutalizer, SIMICS, most HPC codes (e.g. fluid dynamics)
> Machine Learning training, et alia.

OK, good.

So the only preparation you have to do to get those running at maximum 
speed is just to use -O3 on your compilers instead of -O0.

Understood. You don't need to need to worry about anything else.


However I assume that has already been done when building products like 
LLVM (which apparently takes somewhat longer then one second to build), 
however I keep seeing comments about it like this:

"I think the biggest complaint is compile time."

"but if you want fast compile times or just "O1" instead of "O3" level 
performance, it can feel like overkill."

"ah this seems like two very different use cases. Stating the obvious: 
when debugging I want as fast builds as possible. When shipping I want 
as fast software as possible."

Apparently this is not obvious to anybody here except me!