Why is D's GC slower than GO's?
12345swordy
alexanderheistermann at gmail.com
Sun Oct 30 02:14:37 UTC 2022
On Sunday, 30 October 2022 at 02:02:33 UTC, Walter Bright wrote:
> On 10/29/2022 1:26 PM, IGotD- wrote:
>> You are aware that you can always obtain a raw pointer from
>> managed pointer right? Which be useful for FFI functions.
>
> Yes, and you can also always obtain a far pointer from a near
> one. But there's always a cost, otherwise there'd be no point
> to having near pointers.
>
> If C++/CLI nailed it, why has C++ in general not adopted it?
> Why has nobody create a C compiler, but with GC? What is the
> point of Rust if GC is the answer?
C++/CLI is used manually to create a gateway to the .net
framework from c++ and back. That and the fact the implementation
is windows only so that greatly hinders the adoption of the
language.
- Alex
More information about the Digitalmars-d
mailing list