Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2016-08

New Arc attempt

3 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Maciej Izak
to leledumbo

2016-08-02 11:43 GMT+02:00 leledumbo :

Show quoted text 5 lines
Just came across this on my fb timeline: https://pascal.today/2016/08/01/arc-for-non-managed-types/ would be interesting for gc lovers. WARNING: the given code there doesn't compile with FPC, even on trunk

Nothing new. Proposed long time ago (2008!), many times:

http://blog.barrkel.com/2008/11/somewhat-more-efficient-smart-pointers.html https://adugmembers.wordpress.com/2011/12/05/smart-pointers/ http://delphisorcery.blogspot.com/2015/01/smart-pointers-in-delphi.html

In FPC (branch for smart pointers) we have own much faster implementation (based on the default field):

https://github.com/maciej-izak/PascalSmartPointers

which is usable also for nullable types.

Best regards, Maciej Izak

Reply by email