On 10/17/24 8:58 AM, Hairy Pixels via fpc-pascal wrote:
On Oct 17, 2024 at 12:03:47 AM, Guillermo Martínez Jiménez via
fpc-pascal <fpc-pascal@lists.freepascal.org> wrote:
Prease DON'T add garbage collector. IMO it isn't a good idea. I had
very bad experiences with it. Unless somebody found a new magic
algorithm in the last decade...
I used C# for Unity quite a bit and never had any problems. That’s
even with the worst case scenario for game developing that needs real
time graphics. Does that power all of .NET too and all those desktop
applications? It’s been battle tested many years as far as I can tell.
Yet, Delphi .NET was a failure. And nobody uses FPC for the JVM
platform. That's why I'm reluctant to implement a .NET target, even
though it's possible to do. I mean, given infinite developer time, it's
cool, but I don't have that much time, therefore, .NET is very low priority.
In 2024 you don’t need the performance of manual memory management in
UI apps. Garbage collector or anything else will work perfectly well.
Well, surely, you can probably use something like this with Free Pascal
as well:
https://www.hboehm.info/gc/
We're eagerly waiting for your patches to make this work.
For me, it's not worth it. Calling .Free on objects doesn't bother me,
nor does it make development for me any more difficult. With the
built-in leak detection (-gh option), it's even easier.
Nikolay
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal