Plan for D
Ola Fosheim Grostad
ola.fosheim.grostad at gmail.com
Thu May 20 19:11:56 UTC 2021
On Thursday, 20 May 2021 at 18:35:58 UTC, Ola Fosheim Grostad
wrote:
> On Thursday, 20 May 2021 at 18:18:40 UTC, Paulo Pinto wrote:
>> Rust doesn't have RC, just library types, Arc/RC everywhere is
>> just as slow as shared_ptr everywhere.
>
> @system code does not have to be @safe. Next step would be to
> add borrowing selectively. You can also use borrowcounters
> during testing, no need to go for static borrowing, actually.
>
>> In fact, the way that Apple got around improving ARC wasn't
>> spending more development resources on their Objective-C/Swift
>> compilers, rather develop a complete new CPU.
>
> D only needs atomics for shared, not comparable, as an Apple
> engineer kindly has pointed out in this forum some years ago.
> He did no discourage D from pursuing ARC, on the contrary.
As you can see Obj-C had some extra challenges because of
compatibility with manual RC:
http://forum.dlang.org/post/hgmhgirfervrsvcghchw@forum.dlang.org
More information about the Digitalmars-d
mailing list