D Version Manager 0.3.0

Jacob Carlborg has announced a new version of DVM, a tool which allows you to download and manage different versions of the D compilers. Previously, it was only available for Mac and Linux, but the latest version includes support for Windows courtesy of Nick Sabalausky. Currently, only DMD is supported. Now that’s it’s available for Windows, I’m considering giving it a try. But, I’ve got my own method of running different DMD versions that I’ve been using so long it will be a hard habit to break.

New stuff from the DVM changelog:

* Added an option for installing the latest compiler
* Better compatibility between different shell implementations
* Added Windows support. Thanks to Nick Sabalausky
* Added a “list” command for listing installed compilers
* Added a “uninstall” command for uninstalling compilers

D/Objective-C

Mac developers will be interested in Michel Fortin’s D/Objective-C project.

This project is an extension of the D programming language adding support for Objective-C objects. DMD/Objective-C is a modified version of DMD, the reference compiler for D, which implements those additions. The ultimate goal is to merge the capabilities back into mainline DMD, which should be doable once it is proven solid and usable enough.

How cool is that?

D Version Manager 0.2.0

Jacob Carlborg has announce version 0.2.0 of D Version Manager. DVM is a tool for Linux/Mac that allows you to manage different versions of the D compilers. From the web page:

DVM allows you to easily download and install D compilers and manage different versions of the compilers. When you switch D compiler with the “use” command the compiler will only be available in the current shell. This allows you to have one version of the compiler in one shell and another version in another shell. For example, have a D1 version in one shell and a D2 version in another.

Next time I boot into Linux I’ll see about giving this a go. Windows users, like me, can just do what I do and use batch files linked to different console shortcuts. If I haven’t posted already how to set that up, I’ll write something up on it soonish.

D For XCode 1.2.2

Michel Fortin has announced a new version of D for XCode.

This is a very minor update to D for Xcode. The only change is that the installer now add a “lib” symlink in the downloaded unpacked DMD 2.052 archive to make it work despite of a change in the directory layout.

XCode 3 is fully supported, while support for XCode 4 is not yet complete.

D For XCode Now With DMD Support

Michel Fortin has been maintaining for some time a package that simplifies using GDC with XCode on Mac. Now, in version 1.2, he has finally added support for the DMD compilers, both D1 and D2.  From his newsgroup announcement:

It’s been a while since DMD has been available on Mac OS X, but I haven’t made an official release of D for Xcode to support DMD. Today I’m fixing that.

So D for Xcode 2.1 now supports DMD. It comes with an installer package that does the following:

*  Install D plugin for Xcode
*  Install Xcode file and project templates for D
*  Download and install latest version of DMD 2.x
*  Download and install latest version of DMD 1.x

This means that someone can just run the installer and immediately start writing/compiling D code within Xcode. It’s using DMD 2.x by default, but there is no problem installing both versions at the same time and changing the default.

You can get more information and see some screenies at the project website. When I eventually do get a Mac, I think this is one of the first packages I’ll be installing.