Sujet : Re: Baby X is bor nagain
De : bc (at) *nospam* freeuk.com (bart)
Groupes : comp.lang.cDate : 25. Jun 2024, 13:18:39
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <v5e92f$1gs9a$1@dont-email.me>
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
User-Agent : Mozilla Thunderbird
On 25/06/2024 09:19, David Brown wrote:
At no point in all this does anyone care in the slightest about the speed of your little toys or of the cute little tcc. tcc might be ideal for the half-dozen people in the world who think C scripts are a good idea, and it had its place in a time when "live Linux" systems were booted from floppies, but that's about it.
Yet, projects like mine, and like tcc, show what is possible: just how fast should it take to turn lower level code into machine code.
Since as I said I don't see much difference in such a task compared with doing the same with assembly, or translating textual data into binary.
So, if someone is using a tool (and perhaps language) that takes 1, 2 or 3 magnitudes longer for the same scale of task, then the trade-offs had better be worthwhile.
And it shouldn't be because the developers of the tool are lousy at writing performant code. Or they don't care. Or they expect customers to just use faster and bigger hardware.
My own main tool needs to be fast because it is an experimental whole-program compiler designed to turn source modules directly into EXE/DLL with no external build system. There is no independent module-based compilaton; it is program-based.
It also capable of running such an application directly form source code just like a script language.
(It can run itself from source each time you want to compile something. Imagine gcc building itself from scratch before you build any of your programs; I think build times might be a tad slower than you would like! Time to save up for the super-computer.)
LOTS of people are interested in the speed of such tools, lots of working are working on such projects, and ultimately, ungrateful people like you will benefit.
You think it is all totally pointless? Then fuck you.
Here is one more quote from a 2019 thread about compilation speed:
"I remember back in the early 90s having a copy of both Borland packages Pascal and C++ for Windows (3.x). They had similar demo programs. I compared one of them (forgot which)
The C++ demo would build in 5 minutes on my machine.
The [Object] Pascal demo would build in 5 seconds.
The C++ package got shipped back. Ain’t nobody got time for that."