How you guys go about -BetterC Multithreading?
Guillaume Piolat
contact at spam.com
Fri Nov 10 11:55:57 UTC 2017
On Thursday, 9 November 2017 at 16:00:36 UTC, Petar Kirov
[ZombineDev] wrote:
>
> In short, the cost / benefit of going all the way
> version(D_BetterC) is incredibly poor for regular applications,
> as you end up a bit more limited than with modern C++ (> 11)
> for prototyping. For example, even writers of D real-time audio
> plugins don't go as far.
For now we do have some @nogc alternatives for mutex, condition
variables, thread-pool, file reading, etc... (dplug:core package)
for use with the runtime disabled - the middle ground that's way
more usable than -betterC. They may, or not, be applicable to
-betterC.
More information about the Digitalmars-d-learn
mailing list