dub: JSON, SDL, YAML, TOML, what color should we paint it ?
Atila Neves
atila.neves at gmail.com
Mon Mar 6 12:19:41 UTC 2023
On Thursday, 2 March 2023 at 13:56:40 UTC, Richard (Rikki) Andrew
Cattermole wrote:
> On 03/03/2023 12:40 AM, Atila Neves wrote:
>> On Wednesday, 1 March 2023 at 18:13:35 UTC, Richard (Rikki)
>> Andrew Cattermole wrote:
>>> I've been working on trying to get dub to build faster.
>>
>> The simplest way is to get it to build per D package, in
>> threads, and track dependencies. Which reggae does already,
>> but it'd be nice if everyone else could benefit.
>>
>> dub also takes quite a while to do mostly nothing, which
>> reggae sidesteps by only asking dub for info when it generates
>> the build instead of every time.
>
> Its significantly faster once you turn off networking.
I'm aware, I've had `db` aliased to `clear && dub build -q
--nodeps --skip-registry=all` for many years now. It still
does... something.
> There needs to be a local cache of packages rather than asking
> the dub-registry for everything all the time.
There is, it just doesn't look there. There's a reason why and
Matthias is working on it.
More information about the Digitalmars-d
mailing list