Feedback on Átila's Vision for D

Russel Winder russel at winder.org.uk
Thu Oct 17 18:21:20 UTC 2019


Atila,

An added extra in the Dub problems section:

When you build both debug and release builds of an application with Dub the .o
files are not separated, only the final executables are. This means that if
you switch from debug to release build or vice versa, you get a full rebuild. 

An example .dub tree:

.dub
├── build
│   ├── application-debug-linux.posix-x86_64-ldc_2087-13DA9DDBDC6371C556B6892CC72563C7
│   │   └── gfontbrowser
│   └── application-release-linux.posix-x86_64-ldc_2087-8483C7A99B20CA1765F516DDE493FB5B
│       └── gfontbrowser
└── obj
    └── gfontbrowser.o

Cargo gets this right by separating debug and release builds completely.


-- 
Russel.
===========================================
Dr Russel Winder      t: +44 20 7585 2200
41 Buckmaster Road    m: +44 7770 465 077
London SW11 1EN, UK   w: www.russel.org.uk

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20191017/383644f1/attachment.sig>


More information about the Digitalmars-d mailing list