Kaptaan Jack ( kaptaan_jack@lemmy.ml ) to Programmer Humor@lemmy.ml · 3 years agoProgramming Languageslemmy.mlimagemessage-square95linkfedilinkarrow-up1474file-text
arrow-up1474imageProgramming Languageslemmy.mlKaptaan Jack ( kaptaan_jack@lemmy.ml ) to Programmer Humor@lemmy.ml · 3 years agomessage-square95linkfedilinkfile-text
minus-squareHazzia ( Hazzia@discuss.tchncs.de ) linkfedilinkarrow-up1·edit-22 years agodeleted by creator
minus-squareRet2libsanity ( Ret2libsanity@infosec.pub ) linkfedilinkarrow-up2·3 years agoCompile a c program with gcc then with g++. You will quickly see the difference in size
minus-squarenothacking ( nothacking@discuss.tchncs.de ) linkfedilinkarrow-up2·3 years agoAnd speed too. A small program using only C features can compile 5x faster with a c compiler then a c++ one. (GCC will use c++ mode on a .cop file so make sure it is .c)
deleted by creator
Compile a c program with gcc then with g++.
You will quickly see the difference in size
And speed too. A small program using only C features can compile 5x faster with a c compiler then a c++ one. (GCC will use c++ mode on a .cop file so make sure it is .c)