Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail From: David Brown Newsgroups: comp.lang.c Subject: Re: Suggested method for returning a string from a C program? Date: Mon, 24 Mar 2025 15:32:32 +0100 Organization: A noiseless patient Spider Lines: 44 Message-ID: References: <20250319115550.0000676f@yahoo.com> <20250319201903.00005452@yahoo.com> <86r02roqdq.fsf@linuxsc.com> <874izntt5t.fsf@nosuchdomain.example.com> <87ecyrs332.fsf@nosuchdomain.example.com> <20250320171505.221@kylheku.com> <8734f7rw7z.fsf@nosuchdomain.example.com> <87tt7mqk7w.fsf@nosuchdomain.example.com> <87cye9afl0.fsf@nosuchdomain.example.com> <871puoag2q.fsf@nosuchdomain.example.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Mon, 24 Mar 2025 15:32:32 +0100 (CET) Injection-Info: dont-email.me; posting-host="aff7e84aa47b82b9c39de36ffb8a5c58"; logging-data="1145114"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+j9maN7vSez36N07TF+mnWxc+sZz5DkSM=" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 Cancel-Lock: sha1:jmfe1z5LmwmqXuDE9hnwSrB2sVU= Content-Language: en-GB In-Reply-To: Bytes: 3539 On 24/03/2025 15:07, bart wrote: > On 24/03/2025 11:51, David Brown wrote: >> On 23/03/2025 02:34, bart 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. >>> >>> And yet in another part (namely comp.lang.c) it appears to be a total >>> non-issue! >>> >> >> You find it strange that different parts of the computing world (or, >> more appropriately, software development world) have different >> priorities, needs and focuses for their tools?  I find it very strange >> that anyone would find that strange! >> >> > > What was strange was that that one view was shared by pretty much > everyone in comp.lang.c. Do you know what the people in comp.lang.c have in common? We program in C. Do you know /why/ people program in C? There can be many reasons, but a very common one is that they want fast resulting binaries. Most serious programmers are familiar with more than one language, and pretty much all other languages are higher level, easier, and have higher developer productivity than C - but the resulting binaries are almost always slower. C programmers are typically not bothered about build times because a) their build times are rarely high (Scott's projects are C++), and b), they are willing to sacrifice high build times if it means more efficient run times.