<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p><br>
</p>
<div class="moz-cite-prefix">On 1/7/2024 1:09 PM, Florian Klämpfl
via fpc-pascal wrote:<br>
</div>
<blockquote type="cite" cite="mid:8E941CD6-0F04-4D08-8055-DAF915FEC791@freepascal.org"><br id="lineBreakAtBeginningOfMessage">
<div><br>
<blockquote type="cite">
<div>Am 07.01.2024 um 13:21 schrieb Ingemar Ragnemalm via
fpc-pascal <a class="moz-txt-link-rfc2396E" href="mailto:fpc-pascal@lists.freepascal.org"><fpc-pascal@lists.freepascal.org></a>:</div>
<br class="Apple-interchange-newline">
<div>
<div>
<p>Just for comparison, I fired up Think Pascal and made
Hello world!</p>
<p>Plain Hello world, closes so quickly that you don't
have time to see it: 4625 bytes.</p>
<p>Including ShowText and while not Button do; 4639 bytes.<br>
</p>
<p>Yes, less than 5k! Progress?</p>
</div>
</div>
</blockquote>
<a href="https://github.com/chainq/amiga-tiny-hello-p" moz-do-not-send="true" class="moz-txt-link-freetext">https://github.com/chainq/amiga-tiny-hello-p</a></div>
<div><br>
</div>
<div>244 bytes with FPC.</div>
<br>
Not that it's 100 percent relevant, but I always use powerbasic
(<a class="moz-txt-link-freetext" href="https://www.powerbasic.com">https://www.powerbasic.com</a>) when it's a matter of size, since
powerbasic and it's console compiler produces a hello world
program of just 7,168 bytes which is still a windows executable,
and works on just about any version of windows.<br>
</blockquote>
<p>I've never found any windows compiler that produces smaller
executables by default.</p>
<p>Even their powerbasic windows compilers do an admirable job of
keeping the executable sizes down to amazing numbers.</p>
<p>I have an epub reader I've been working off and on for the last
couple years, and even with a complete gui and significant
functionality, my epub reader clocks in at a whooping 75,776
bytes.</p>
<p>I've never gotten such results from any other windows compiler,
and indeed, a great deal of linux compilers can't match that.</p>
<p>Of course, I *always* use FPC when a I need the program on
multiple platforms, though I do tend to use java when I need a gui
on multiple platforms, as I can just throw up the grid format,
then not have to worry about how the gui looks, which is great for
me, because it's either that, or have a sighted individual pour
over the gui with me until I get it right. It's just easier to
use grid mode on java. :)</p>
<p>For what it's worth though, generally, I find FPC to be
considerably better than anything cross platform except of course
for GCC.</p>
<p><br>
</p>
</body>
</html>