710

No offence

you are viewing a single comment's thread
view the rest of the comments
[-] Ret2libsanity@infosec.pub 3 points 1 year ago

Compile a c program with gcc then with g++.

You will quickly see the difference in size

[-] nothacking@discuss.tchncs.de 2 points 1 year ago

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)

this post was submitted on 16 Jul 2023
710 points (92.4% liked)

Programmer Humor

32050 readers
1729 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS