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
Mailing lists / fpc-pascal / 2016-08
New Arc attempt
3 messages · 2 people · –
- Lleledumbo 2
- MMaciej Izak 1
Reply by email Subscribe to this list Your subscription
Read-only archive. Use j and k to move between messages.
2016-08-02 11:43 GMT+02:00 leledumbo :
Show quoted text 5 lines
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.
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.
I think I've seen this before, but never really dig in to the implementation.
