I share some results of my quest for a uniform memory management model across all platforms. For some reason, it also touches on old-school linked lists and new-school messaging...

I share some results of my quest for a uniform memory management model across all platforms. For some reason, it also touches on old-school linked lists and new-school messaging...
https://blog.grijjy.com/2017/08/09/experiments-in-uniform-memory-management/

Comments

  1. So much overhead just to not write "Free" in the code...
    (I'm about automatic MM at all).

    ReplyDelete
  2. Agree with the content... Couldn't have say better the concerns with multiple memory management in Delphi, and breaking changes. This is in fact why I use now FPC for server work, which has perfect Linux support.

    ReplyDelete
  3. If only Emba had simply never introduced ARC we would have a uniform model.

    ReplyDelete
  4. David Heffernan We still would have two different ones which developer are fighting since Delphi 3 (I am assuming you mean ARC for objects).

    ReplyDelete
  5. Stefan Glienke Yes, I meant ARC for objects.

    ReplyDelete
  6. Having two memory life cycle models is lunacy. I can understand that some people don't want ARC for old school code, but there should be an option to run full ARC for VCL/RTL for Windows too. I would gladly spend time on porting our old model to ARC.

    ReplyDelete

Post a Comment