<div dir="ltr">Hello List,<br><br>I'm writing an article about modern (Object) Pascal, but there is one subject that I do not fully understand (for the article that is :)) and I wish to be prepared for it.<br><br>Let's say that I write the following code:<br>
<br>program say_hello;<br><br>begin<br> writeln('Hello');<br>end.<br><br><br>This code is not linked to any shared library and therefor consider to be static linked. However if I write the following code:<br><br>
program say_helloworld;<br><br>begin<br> writeln('Hello World');<br>end.<br><br><br>They both have the same size and the same memory footprint. <br>So what exactly is going on ? Why does Pascal compiler generate static linked executable while C/++ compiler will generate dynamic executable ?<br>
<br>What are the benefits in this approach and what are the bad things with it ?<br><br>Thanks,<br><br>Ido<br>
</div>