4 ms·
D does have a package manager named dub, it works well. https://code.dlang.org/ https://code.dlang.org/
by Foomf 6y ago
D does have a package manager named dub, it works well.
https://code.dlang.org/ https://code.dlang.org/
- moonchild 6y ago> it works well it ... works That's as much as I think can be said for it. Dub is garbage. It's too complicated, too rigid, and it does too little. It's also slow for larger projects because it doesn't do incremental builds.
- vidugavia 6y agoIs the lack of incremental compilation aproblem with dub or with D compiler in general?
- Doxin 6y agoIt's a problem with dub. The D compiler operates basically exactly like a C compiler would as far as I'm aware. Note that in most cases an incremental build isn't really required for D because for moderately complex projects you're often limited by linking speed, not compiling speed.
- p0nce 6y agodub does incremental builds.
- moonchild 6y agoBoth. Incremental compilation is possible to an extent, and reggae[0] does it. However, due to the semantics of d imports and templates, compiling a module will require at least cursory parsing and semantic analysis of all the modules it imports. Meaning that for a binary with a single entry point, modifying pretty much any module will require recompilation of the top-level module, which means there's a certain degree of incrementality you can never reach. 0. https://github.com/atilaneves/reggae https://github.com/atilaneves/reggae