AST files instead of DI interface files for faster compilation and easier distribution

dennis luehring dl.soluz at gmx.net
Tue Jun 19 01:46:32 PDT 2012


Am 19.06.2012 09:43, schrieb Kagamin:
> On Monday, 18 June 2012 at 17:54:40 UTC, Walter Bright wrote:
>> Yeah, but I can't escape that lingering feeling that lexing is
>> slow.
>>
>> I was fairly disappointed that asynchronously reading the
>> source files didn't have a measurable effect most of the time.

> I don't even understand all this rage about asynchronicity, if
> the program has nothing to do until it reads the data,

the lexing and parsing process can be asynchron - i will be faster on 
multiple cores because there is no dependency between seperated 
lexing-parsing threads - why to lex/parse in sequence then?

> asynchronicity won't help you in the slightest. Anyway everything
> is stuck while the device performs DMA.

yea down to the hardware level - but there are caches etc. out there - 
its not like "multithreaded-file-reading-is-always-fast-like-synchron", 
and also not "asynchron-file-reading-is-always-faster" - more somewere 
in between :)




More information about the Digitalmars-d mailing list