Why is D's GC slower than GO's?

Paulo Pinto pjmlp at progtools.org
Sat Oct 29 20:11:35 UTC 2022


On Saturday, 29 October 2022 at 20:03:46 UTC, Walter Bright wrote:
> On 10/29/2022 4:39 AM, IGotD- wrote:
>> None the less the argument with far/near to totally irrelevant 
>> today has nothing to do with the managed/raw pointer 
>> separation.
> I looked (briefly) at some online C++/CLI code. The __gc 
> annotation looks just like __near/__far, and is applied in the 
> same places.

Again mixing languages,

__gc is from Managed C++, .NET 1.0

C++/CLI, .NET 2.0 onwards, uses ^ for reference types and gcnew 
for GC heap.


More information about the Digitalmars-d mailing list