Liste des Groupes | Revenir à cl c |
Bart <bc@freeuk.com> writes:Hmm, someone else who develops software, either without needing to compile code in order to test it, or they write a 1M-line app and it compiles and runs perfectly first time!On 19/11/2024 23:41, Waldek Hebisch wrote:Bart <bc@freeuk.com> wrote:>>I don't consider it funny at all, rather it is simply the way things
It's funny how nobody seems to care about the speed of compilers (which
can vary by 100:1), but for the generated programs, the 2:1 speedup you
might get by optimising it is vital!
should be. One compiles once.
One's customer runs the resultingSure. That's when you run a production build. I can even do that myself on some programs (the ones where my C transpiler still works) and pass it through gcc-O3. Then it might run 30% faster.
executable perhaps millions of times.
No. And? That's like telling somebody who likes to devise their own bicycles that they've never worked on a really large conveyance, like a jumbo jet. Unfortunately a bike as big, heavy, expensive and cumbersome as an airliner is not really practical.>And again, you've clearly never worked with any significantly
Here I might borrow one of your arguments and suggest such a speed-up is
only necessary on a rare production build.
large project. Like for instance an operating system.
There could be some lessons to be learned however. Since the amount of bloat now around is becoming ridiculous.My first compilers worked on 4KW PDP-8. Not that I have anymachine, I think that available memory (64MB all, about 20MB available>
to user programs) is too small to run gcc or clang.
>
Only 20,000KB? My first compilers worked on 64KB systems, not all of
which was available either.
interest in _ever_ working in such a constrained environment
ever again.
You obviously don't.>And, nobody cares.
None of my recent products will do so now, but they will still fit on a
floppy disk.
Les messages affichés proviennent d'usenet.