On Friday, 1 March 2019 at 16:45:38 UTC, Seb wrote:
On Friday, 1 March 2019 at 14:50:45 UTC, Jesse Phillips wrote:
I don't know what value it brings with the -i switch existing.

Almost none, except that it's twice as slow as DMD because it needs to run DMD twice to learn about all the dependencies.

It's only useful for a few small things now:

- '-e': evaluate d code with all modules automatically imported (though now that there's std.experimental.all this value is gone too)
- makefile deps generation
- shebang line (as arguments can't be part of the shebang line)

(The list is not complete)

I forgot one big reason why rdmd is still nice: caching. It does save the generated dependency file list and checks all modification time stamps, s.t. if nothing has changed, it'll run a cached build

Reply via email to