My Long Term Vision for the D programming language

Paulo Pinto pjmlp at progtools.org
Fri Nov 19 12:50:40 UTC 2021


On Friday, 19 November 2021 at 12:45:45 UTC, rikki cattermole 
wrote:
>
> On 20/11/2021 1:34 AM, Ola Fosheim Grøstad wrote:
>> Anyway, I am in favour of ARC for shared and local GC with 
>> actors for non-shared. I think that model fits well with most 
>> D users expect and also where hardware is heading.
>
> I'm more in favor of ARC completely. Tie it into scope, and the 
> compiler can elide the calls. Add an operator overload so that 
> you can get a non-scope reference to memory and it might be a 
> very nice situation for us.

Just beware of not relying too much in such optimizations,

"ARC in Swift: Basics and beyond"

"Learn about the basics of object lifetimes and ARC in Swift. 
Dive deep into what language features make object lifetimes 
observable, consequences of relying on observed object lifetimes 
and some safe techniques to fix them."

https://developer.apple.com/videos/play/wwdc2021/10216/


More information about the Digitalmars-d mailing list