[fpc-pascal] What's in Hello World

Florian Klämpfl florian at freepascal.org
Sun Jan 7 10:01:11 CET 2024



> Am 06.01.2024 um 20:05 schrieb Matthew Phillips via fpc-pascal <fpc-pascal at lists.freepascal.org>:
> 
> I compiled the Hello World program from the docs and noticed that it's
> 435k. Compared to a lot of newer languages, like Golang, that's not bad
> at all.
> 
> I then compiled the equivalent C program with gcc which came out at
> 33k. So I'm just curious, where does the difference comes from?
> Could it be that fpc is including some parts that are not being used in
> this simple of a program or is more going on?

https://wiki.freepascal.org/Size_Matters

> 
> Like I said, purely a curiosity, not intended as a criticism. Cheers.
> _______________________________________________
> fpc-pascal maillist  -  fpc-pascal at lists.freepascal.org
> https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20240107/01e39dba/attachment.htm>


More information about the fpc-pascal mailing list