DMD Source Archive - Why?

Hipreme msnmancini at hotmail.com
Thu Apr 4 10:48:50 UTC 2024


On Thursday, 4 April 2024 at 09:55:32 UTC, Paolo Invernizzi wrote:
> https://github.com/dlang/dmd/pull/16348
>
> *sigh*
>
> /P

Rationale: 
https://github.com/dlang/dmd/blob/8e94bc644fc72dc3f72a00791eb52b40230ceb26/changelog/dmd.source-archive.dd#L79

The part I'm very interested in in the compilation time. This may 
reduce by a lot the compilation time required by dub libraries. 
But there would be a requirement of doing a synchronized change 
between all the compilers and our existing tools :)
For development time, this feature might be useless. I also will 
need to start thinking now how to support those.


>2. To compile all the source files at once with DMD, the command 
>line can get
extremely long, and certainly unwieldy. With .sar files, you may 
not even need
a makefile or builder, just:

This is actually a like. It is possible to do that with `dmd -i 
-i=std` or something like that. The main feature one gain from 
makefiles or builders aren't declaring the files you're using, it 
is for defining version configuration.

Also, I'll be renaming the thread name since it doesn't open up 
for any discussion.




More information about the Digitalmars-d mailing list