>>101526546
He is right at this point. However at same level of abstraction it usually good to have a smaller amount of LOC (maintainability/readability is a good criteria).
>>101526675
Despite it being true (a fair comparison would include the same flags), GNU is known to not care much about resources usage (in general).
>>101527163
Warmed comparison.
for i in cat 9base-6/cat/cat sbase/cat ecore/src/cat; do <
> echo $i
> time $i data.bin >/dev/null
> done
cat
0m00.37s real 0m00.04s user 0m00.33s system
9base-6/cat/cat
0m00.30s real 0m00.02s user 0m00.23s system
sbase/cat
0m01.01s real 0m00.21s user 0m00.79s system
ecore/src/cat
0m00.04s real 0m00.01s user 0m00.02s system
>>101526441
A comparison (using (elllc) ecc -Os -static):
$ file 9base-6/cat/cat sbase/cat ecore/src/cat
9base-6/cat/cat: ELF 64-bit LSB executable, x86-64, version 1 (GNU/Linux), statically linked, BuildID[sha1]=8299124db6a62fd254102c0b9f03a665d5180a15, for GNU/Linux 4.4.0, stripped
sbase/cat: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), statically linked, BuildID[sha1]=e4e24a9aacf20e79397a18dedf59ca0ae356bb5d, stripped
ecore/src/cat: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), statically linked, BuildID[sha1]=aed358e6c73d5bbf08f2367302ccb4ee315346c1, stripped
$ size 9base-6/cat/cat sbase/cat ecore/src/cat
text data bss dec hex filename
689673 27432 24392 741497 b5079 9base-6/cat/cat
17384 232 656 18272 4760 sbase/cat
15466 464 10064 25994 658a ecore/src/cat
$ wc -l 9base-6/cat/cat.c sbase/cat.c ecore/src/cat.c
36 9base-6/cat/cat.c
52 sbase/cat.c
42 ecore/src/cat.c
130 total