What are the worst parts of D?

ketmar via Digitalmars-d digitalmars-d at puremagic.com
Wed Sep 24 23:30:59 PDT 2014


On Wed, 24 Sep 2014 21:15:59 -0700
"H. S. Teoh via Digitalmars-d" <digitalmars-d at puremagic.com> wrote:

> needs to write should in theory be simply:
> 
> 	Program("mySuperApp", "src/main.d");
> 
> and everything else will be automatically figured out.
ah, that's exactly why i migrated to jam! i got bored of manual
dependency control, and jam file scanning works reasonably well (for c
and c++, i'm yet to finish D scanner -- it should understand what
package.d is). now i'm just writing something like

  Main myproggy : main.d module0.d module1.d ;

and that's all. or even

  Main myproggy : [ Glob . : *.d : names-only ] ;

and for projects which contains some subdirs, libs and so on it's still
easy.

i never tried jam on really huge projects, but i can't see why it
shouldn't be good, as it supports subdirs without recursion and so on.

jam is still heavy file-based and using only timestamps, but it's only
'cause i'm still not motivaded enough (read: timestamps works for me).


p.s. i'm talking about my own fork of 'jam' here. it's slightly
advanced over original jam.

p.p.s. i patched gdc to emit all libraries mentioned in
`pragma(lib, ...)` and my jam understands how to extract and use this
information.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20140925/d68432ae/attachment.sig>


More information about the Digitalmars-d mailing list