Sujet : Re: Suggested method for returning a string from a C program?
De : 643-408-1753 (at) *nospam* kylheku.com (Kaz Kylheku)
Groupes : comp.lang.cDate : 26. Mar 2025, 19:06:09
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <20250326110011.634@kylheku.com>
References : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
User-Agent : slrn/pre1.0.4-9 (Linux)
On 2025-03-26,
Muttley@DastardlyHQ.org <
Muttley@DastardlyHQ.org> wrote:
Whats this? You mean your amazing zippy fast compiler can't optimise for shit?
Maybe gcc isn't so bad after all eh?
Ah, but:
- gcc doesn't produce better code than it did 25 years go, when it
was at least an order of magnitude smaller and two orders faster.
At least not for tightly written programs where the C programmer
has done optimizing at the source level, so that the compiler has
little more to think about beyond good instruction selection and
cleaning up the pessimizations it has itself introduced.
- gcc is still pretty slow when you have no optimization enabled (-O0).
-- TXR Programming Language: http://nongnu.org/txrCygnal: Cygwin Native Application Library: http://kylheku.com/cygnalMastodon: @Kazinator@mstdn.ca