Deutsch   English   Français   Italiano  
<vror2q$28ivi$1@dont-email.me>

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

Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail
From: bart <bc@freeuk.com>
Newsgroups: comp.lang.c
Subject: Re: Suggested method for returning a string from a C program?
Date: Sun, 23 Mar 2025 11:25:14 +0000
Organization: A noiseless patient Spider
Lines: 54
Message-ID: <vror2q$28ivi$1@dont-email.me>
References: <vrd77d$3nvtf$2@dont-email.me> <20250319115550.0000676f@yahoo.com>
 <vreuj1$1asii$4@dont-email.me> <vreve4$19klp$2@dont-email.me>
 <20250319201903.00005452@yahoo.com> <86r02roqdq.fsf@linuxsc.com>
 <vrh1br$35029$2@dont-email.me> <LRUCP.2$541.0@fx47.iad>
 <vrh71t$3be42$1@dont-email.me> <874izntt5t.fsf@nosuchdomain.example.com>
 <vrhviu$h5c$1@dont-email.me> <87ecyrs332.fsf@nosuchdomain.example.com>
 <vri9t1$a29t$1@dont-email.me> <20250320171505.221@kylheku.com>
 <vrif1v$c9ev$3@dont-email.me> <8734f7rw7z.fsf@nosuchdomain.example.com>
 <vrjjvb$1esjh$1@dont-email.me> <87tt7mqk7w.fsf@nosuchdomain.example.com>
 <vrkvt5$2k04q$2@dont-email.me> <87cye9afl0.fsf@nosuchdomain.example.com>
 <vrmckn$114k$1@dont-email.me> <871puoag2q.fsf@nosuchdomain.example.com>
 <vrnoft$15f6n$1@dont-email.me> <20250323105043.00000db2@yahoo.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sun, 23 Mar 2025 12:25:14 +0100 (CET)
Injection-Info: dont-email.me; posting-host="a15946f919c03f5587cb1d54f3992682";
	logging-data="2378738"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX199/ge69Ay0Q81rF5JEOyxH"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:x2ScDQNo1C0hVaz6+dOL+no6JzA=
In-Reply-To: <20250323105043.00000db2@yahoo.com>
Content-Language: en-GB
Bytes: 3770

On 23/03/2025 08:50, Michael S wrote:
> On Sun, 23 Mar 2025 01:34:54 +0000
> bart <bc@freeuk.com> wrote:
> 
>>
>> It's strange: in one part of the computing world, the speed of
>> building software is a very big deal. All sorts of efforts are going
>> on to deal with it. Compilation speed for developers is always an
>> issue. There is a general movement away from LLVM-based backends
>> /because/ it is so slow.
>>
> 
> What "general movement" are you talking about?
> I can't recollect any new* language for general-purpose computers that
> is used by more than dozen* persons which is not based on LLVM back end.
> Despite its undeniable slowness.

There's Rust + Cranelift:

"The goal of this project is to create an alternative codegen backend 
for the rust compiler based on Cranelift. This has the potential to 
improve compilation times in debug mode."

There's Go which was never based on LLVM:

"At the beginning of the project we considered using LLVM for gc but 
decided it was too large and slow to meet our performance goals."

('gc' is 'Go Compiler'. Maybe Go is older than 15 years? Still, LLVM 
seems to have been around and was thought to be slow then.)

And there's Zig:

https://news.ycombinator.com/item?id=39154513

There are other's comments:

"LLVM used to be hailed as a great thing, but with language projects 
such as Rust, Zig and others complaining it's bad and slow and they're 
moving away from it – how bad is LLVM really?"

Here's is a random quote from Reddit:

"2 minutes is really good for a full build. 2 minutes is pretty bad for 
a one line change.

I also quit my job recently because of their terrible infrastructure. 
All home-grown of course. A horrible mess of Python, C++ and Make.

So demotivating. And nobody except me cared."

TBH, for me 2 minutes would be really terrible even for a full build. So 
would 2 seconds! (How big was this executable?)