www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - RC woes

reply Andrei Alexandrescu <SeeWebsiteForEmail erdani.org> writes:
Found these a while ago, meant to share them here for discussion:

http://cglab.ca/~abeinges/blah/everyone-poops/
http://www.cocoawithlove.com/blog/2016/03/27/on-delete.html


Andrei
Apr 12 2016
parent Dicebot <public dicebot.lv> writes:
On 04/12/2016 04:44 PM, Andrei Alexandrescu wrote:
 Found these a while ago, meant to share them here for discussion:
 
 http://cglab.ca/~abeinges/blah/everyone-poops/
 http://www.cocoawithlove.com/blog/2016/03/27/on-delete.html
First link (Swift one) felt somewhat obvious and boring to be honest but the second post really got my attention :) That is very interesting example of how subtle combination of two sound concepts that make perfect sense on their own suddenly creates explosion in type system, even in crazy restrictive type system like Rust has.
Apr 12 2016