Re: Cached Incremental Updates of DUB Builds

2015-01-27 Thread data man via Digitalmars-d-learn
Try it: https://github.com/gecko0307/Cook2 On Monday, 26 January 2015 at 22:33:21 UTC, Nordlöw wrote: Is there a way to tell DUB to compile all its sources as separate objects which are then fed to ld. My project has grown beyound 10k lines of code. And I don't want DMD to recompile every lin

Re: Cached Incremental Updates of DUB Builds

2015-01-28 Thread data man via Digitalmars-d-learn
How you thought about merging Cook2 with DUB? I'm not the author the Cook2. :)

Re: how convert the range to slice ?

2015-01-28 Thread data man via Digitalmars-d-learn
On Wednesday, 28 January 2015 at 14:32:38 UTC, mzf wrote: is there any simple way to convert? int [] arr1 = [1,2,3].map!"a*2"; //compile error int [] arr2 = [1,2,3].filter!"a<3";//compile error auto arr1 = [1,2,3].map!"a*2".array; auto arr2 = [1,2,3].filter!"a<3".array;

Re: Conway's game of life

2015-02-01 Thread data man via Digitalmars-d-learn
On Sunday, 1 February 2015 at 21:00:07 UTC, gedaiu wrote: Hi, I implemented Conway's game of life in D. What do you think that I can improve to this program to take advantage of more D features? https://github.com/gedaiu/Game-Of-Life-D Thanks, Bogdan If the subject of the game "Life" is inte