[fpc-devel] Why/how does the compiler have a non-trivial number ofmemory leaks after over two decades of development?
Marcos Douglas B. Santos
md at delfire.net
Mon Jul 30 22:27:27 CEST 2018
On Mon, Jul 30, 2018 at 3:31 PM, R0b0t1 <r030t1 at gmail.com> wrote:
> On Mon, Jul 30, 2018 at 11:42 AM, Marcos Douglas B. Santos
> <md at delfire.net> wrote:
>> On Mon, Jul 30, 2018 at 12:29 PM, R0b0t1 <r030t1 at gmail.com> wrote:
>>
>> [...]
>
> If a program isn't long running I see programmers tend to not care
> about memory management, nor do I make a habit of caring about it
> myself. I find it hard to see anything wrong with this.
>
> As someone has mentioned this can fail on smaller computers, but how
> much RAM is too little? SBCs now typically come with 1-4GB of memory.
I'm sorry, but we work with a language that expected programmers
should manage their objects.
The language even provides a clean way (try-finall) to do that.
I use try-finally even to write a snippet to show an example of code...
IMO, that must be a habit in such languages.
regards,
Marcos Douglas
More information about the fpc-devel
mailing list