Sujet : Re: C23 thoughts and opinions
De : already5chosen (at) *nospam* yahoo.com (Michael S)
Groupes : comp.lang.cDate : 26. May 2024, 21:06:47
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <20240526230028.00003635@yahoo.com>
References : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
User-Agent : Claws Mail 4.1.1 (GTK 3.24.34; x86_64-w64-mingw32)
On Sun, 26 May 2024 19:19:59 +0100
Malcolm McLean <
malcolm.arthur.mclean@gmail.com> wrote:
The Baby X resource compiler has a 'binary' tag to embed binary data.
The biggest file in my documents folder was a 33 mb boost zipped
image. And the resouce compiler, built in debug mode, took five
seconds to convert that to a C source file with an array of unsigned
chars.
It then took gcc about 20 seconds to compile it to an object file.
If '33 mb' means 33 MB and 'about 20 seconds' means 20 seconds then
your gcc compiles at 1.65 MB/s. That's 2.8x faster than
gcc on my old test machine and 1.7 times faster than gcc 13.2.0 on much
faster machine with quite good PCIe-attached SSD. Sounds interesting.
What are your HW, OS and environment?
Can you show us an example of your output format?
The output file was 218 mb. It goes straight in the bin.