Faster Dlang Execution

mw mingwu at gmail.com
Tue Jun 8 17:34:06 UTC 2021


On Tuesday, 8 June 2021 at 17:10:47 UTC, seany wrote:
> Hello
>
> How can I increase the speed of executable files created via :
>
> `dub build -b release`
>
> I am unable to parallellise all of it, as it depends on part of 
> the result being calculated before something else can be 
> calculated.


You need to write parallel code yourself, the compiler won't know 
your app's logic.

Here is how the Dlang std lib can help:

https://tour.dlang.org/tour/en/multithreading/std-parallelism


More information about the Digitalmars-d-learn mailing list