Solution to problems:

Nick Sabalausky via Digitalmars-d digitalmars-d at puremagic.com
Tue Mar 24 08:39:15 PDT 2015


On 03/23/2015 08:18 PM, ketmar wrote:
> On Mon, 23 Mar 2015 21:34:08 +0000, Jake The Baker wrote:
>
>> I don't want to spend 30mins to an hour to download the latest version,
>> compile it if I have to, make sure all the configuration stuff is
>> correct, create a setup program... just to find out there is a bug in
>> the latest version at the end.
>
> there is a brilliant invention here that helps with exactly this. it is
> called "scripting". i spent, you know, something like a hour more than
> year ago, and now i can build DMD in 2 minutes (this is the limit of my
> box, it can't compile code faster than that), update it in less than a
> minute (this is limited by internet connection) and so on.
>

Already exists:
https://github.com/jacob-carlborg/dvm

$ dvm install 2.066.1
$ dvm install 2.067.0-b2
$ dvm use 2.066.1
$ dmd | grep DMD
DMD64 D Compiler v2.066.1
$ dvm use 2.067.0-b2
$ dmd | grep DMD
DMD64 D Compiler v2.067.0-b2

> there is life beyond IDEs. no, really, i'm not joking!
>

Indeed! After all, a programmer's whole job is to write commands and 
automate tasks anyway.



More information about the Digitalmars-d mailing list