The size of hello world is caused by a larger RTL.
Not entirely, e.g. 32-bit code is bulkier
However, RTL can be customized, decreasing the size
If you just want to kill time on with futile endeavours, yes. And then you stuff the result on a 2TB harddisk occupying 0.000005% (I hope I got the number of zeros correct).
EXE size is mostly irrelevant: read
http://wiki.freepascal.org/Size_MattersAre you saying all of the RTL is being executed.
I doubt it.
No we are not saying that. Some might be because something in the RTL can be plugged in, support for soft-float,exceptions, translation, timezones, readable runtime messages and localization is often not automatically removed. Dead code elimination can not kill everything. The few embedded people that care manually maintain their own minimal RTL anyway
What we are saying is that we value functionality over size, or at least in the low end of the size scale.
A question: I have 5 TEE programs ranging from 57kb to 5kb.
All do the same thing. Which EXE should I put on my disk?
The one that works best. Size is not a factor