Official compiler

Walter Bright via Digitalmars-d digitalmars-d at puremagic.com
Sun Feb 28 15:43:19 PST 2016


On 2/28/2016 1:35 AM, Iain Buclaw via Digitalmars-d wrote:
> Surely with Fibers everything would be deterministic though?

I don't see the point of fibers if:

1. they are running on the same core
2. none of them do any waiting, such as waiting on I/O requests

The only I/O a compiler does is reading the source files and writing the object 
file. At one time, dmd did have an async thread to read the source files, but 
that was removed as discussed in this thread.

To speed up dmd, using multicores is necessary, and that requires synchronization.


More information about the Digitalmars-d mailing list