[fpc-devel] inline... and philosophy

J. Gareth Moreton gareth at moreton-family.com
Fri Nov 8 16:02:05 CET 2019


I guess that's the consequence of Microsoft Visual C++ having such a 
large market share.

Gareth aka. Kit

On 08/11/2019 14:55, Ben Grasset via fpc-devel wrote:
> On Fri, Nov 8, 2019 at 8:28 AM J. Gareth Moreton 
> <gareth at moreton-family.com <mailto:gareth at moreton-family.com>> wrote:
>
>     The large binary sizes feel like an elephant
>     in the room that no-one talks about.
>
>
> Relatively speaking, FPC actually does very well as far as binary size 
> for a language that specifically aims to have robust RTTI 
> functionality. C++ binaries are often small simply because because 
> it's quite normal in C++ to build with both exception handling and 
> RTTI disabled entirely, for example.
>
> Against basically anything else FPC generally comes out significantly 
> smaller, though. Ever seen the size of a Go binary? Or a Rust binary? 
> Even their Helllo Worlds are non-trivially larger than FPC's.
>
> So I think no one talks about it essentially because FPC binaries are 
> already exactly the size they logically should be, given the general 
> goals of the language / compiler.
>
> _______________________________________________
> fpc-devel maillist  -  fpc-devel at lists.freepascal.org
> https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20191108/9609d4c6/attachment.html>


More information about the fpc-devel mailing list