Required DMD changes for Mir and few thoughts about D future

Ilya Yaroshenko via Digitalmars-d digitalmars-d at puremagic.com
Tue Sep 27 02:28:31 PDT 2016


On Tuesday, 27 September 2016 at 09:20:28 UTC, Jacob Carlborg 
wrote:
> On 2016-09-27 10:50, Ilya Yaroshenko wrote:
>
>> No, LDC for example does not have the issue
>> https://issues.dlang.org/show_bug.cgi?id=16488 and others too.
>
> Does LDC has: "Lightweight `nothrow @nogc` threads, implemented 
> using `struct`s" ?

They are coming soon. LLVM has OpenCL and CUDA backend. OpenCL 
can be used both for CPU and GPU targets. So, yes, Mir will have 
[1, 2] lightweight `nothrow @nogc` threads with LDC.

1. https://github.com/libmir/dcompute
2. https://github.com/ldc-developers/ldc/pull/1786


More information about the Digitalmars-d mailing list