Sujet : Re: question about linker
De : bc (at) *nospam* freeuk.com (Bart)
Groupes : comp.lang.cDate : 05. Dec 2024, 22:46:15
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vit6v7$1qfgg$2@dont-email.me>
References : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
User-Agent : Mozilla Thunderbird
On 05/12/2024 20:21, Scott Lurndal wrote:
Bart <bc@freeuk.com> writes:
>
Since converting C code to native code is something that can be done at
10MB/sec per core. Is your final binary 36GB?
Of course not, I posted the size, it's 7MB.
You posted a 7MB size (and an 8MB one), in a post about hypothetical 1-10GB executables. I didn't realise it was the size of the project that took 1 hour of CPU time to build.
So that's about 2KB/second of CPU time.
This is about half the speed of my first assembler, that ran on a 2.5MHz 8-bit processor in 16KB, which could translate assembly to binary at about 4KB/second.
I can't say I'm impressed. Oh, I forgot: you're using 6 cores, to effectively achieve 9KB/second. I reckon you could write the output to floppy disk, without impacting those 13 minutes too much! Somebody would have to keep switching disks though.