[fpc-pascal] New Arc attempt

Maciej Izak hnb.code at gmail.com
Tue Aug 2 12:23:54 CEST 2016


2016-08-02 11:43 GMT+02:00 leledumbo <leledumbo_cool at yahoo.co.id>:

> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20160802/a24393a8/attachment.html>


More information about the fpc-pascal mailing list