The One With D News and Opinions of the Digital Mars D Programming Language

30May/060

StackThreads

Mikola Lysenko has announced a new library that gives D programmers access to context switching, cooperative threads, and coroutines. The library is called StackThreads and you can pick it up on the project page of Mikola's website.

Technorati Tags: , ,

Filed under: News No Comments
28May/060

C++ Bindings Generator

Gregor Richards has started a project at DSource called BCD, a development tool that generates bindings for C++. Here's a blurb from his NG announcement:

It works by using GCCXML to parse the C++ header, then making extern "C"
wrapper classes for every function in .cc files, then calling those from
.d files made to mimic the layout of the C++ classes.  The code is ugly,
but to the end-user it's entirely transparent.  Because it mimics the
layout of the C++ classes, if you know how to use a library in C++, it
should be very similar in D (with BCD bindings).

There are a handful of unsupported C++ features - templates, multiple inheritance (of course, since D doesn't support it) and, to quote Gregor again, "That other crazy C++ feature you're thinking about right now." If your name is Ben Cooley or you have otherwise found yourself in need of such a tool, your prayers have been answered. Drop by the BCD forums and let Gregor know!

Technorati Tags: ,

Filed under: News No Comments
28May/060

gdcmac and gdcwin

Anders F Björklund has released an updated 0.18 gdcmac (gdc precompiled for Mac). He has also gone one step further and precompiled gdc for MinGW on Windows as gdcwin. Thanks, Anders!

Technorati Tags: , , ,

Filed under: News No Comments
27May/060

GDC 0.18

David Friedman has reappeared with news of a GDC release. He also has set up a project page at SourceForge, with a Subversion repository forthcoming. The changelog for the new version, as posted in the NG:

* Fixes

   o ICE on assignment arithmetic

   o Problems mixing D and assembler floating point operations

   o Mac OS X 10.2 build problems

   o The gdc driver no longer compiles C source as C++

   o Many others...

* Improvements

   o Updated to DMD 0.157

   o Support for PowerPC Linux

   o Partial support for SkyOS

   o Compiler can be relocated to another directory.

Filed under: GDC Releases No Comments
25May/060

DMD 0.158

DDoc addtions and a boatload of bugfixes. Read all about it.

Technorati Tags: , , ,

Filed under: DMD Releases No Comments