Saturday, March 15th, 2008
Nicolay has let loose a new version of Monster, the D-based game scripting language. Notable in this version is the addition of D-like arrays. You can see the complete changelog on the project download page. If you are curious about what’s in the pipeline for Monster, take a look at the recently updated roadmap.
Technorati Tags: D Programming Language, game development, game programming, scripting languages
Posted in Gamedev/Games, News | No Comments »
Friday, March 14th, 2008
Big news from Chris Miller: Entice Designer 0.8.5 was just released and includes support for designing DWT shells and widgets. How cool is that? Now you can use Entice to design DFL and DWT layouts, or just use it as a code editor. Dig this DWT in Entice screenie. Rock on Chris!
Technorati Tags: D Programming Language, Entice Designer, DFL, DWT, GUI
Posted in GUI, IDE, News | No Comments »
Friday, March 14th, 2008
D’s Daddy now has a blog over at DDJ’s Dobbs Code Talk. His first post is on invariant strings. Subscribe. Now.
Technorati Tags: D Programming Language, Walter Bright, blogs
Posted in News | No Comments »
Thursday, March 13th, 2008
Lester L. Martin II announced version 1.005 of his DInstaller package:
Today, I announce the release of DInstaller. It is written in C# just to get everything up to date with the latest dmd, tango, etc. However Mango support was removed as C# has a way to connect to other applications but I am having a hard time using it predictably.
DMD
DMD+TANGO
DMD+TANGO+TANGOBOS
DMD+PHOBOS+TANGO
DMD+PHOBOS+TANGO+TANGOBOS
DSSS
DDBG
DFL
are all supported.
Christopher Wright announced the first beta release of
DUnit, a unit testing library that adds capabilities above and beyond D’s built-in unit tests. If D’s unit tests don’t float your boat, DUinit might.
Scott “stonecobra” Sanders of the Tango team has made
several posts on his blog recently benchmarking Tango’s XML package against several C/C++/Java libraries (individually, the posts are
here,
here, and
here with an explanation of the results
here). Walter wants to make sure you know about
the reddit thread regarding these posts (and, for kicks,
this rant by a disillusioned C++ veteran who is ripe for conversion to D).
Benjamin “BCS” Shropshire has put together
a template library that “produces both the client and server side parts of a JavaScript to D proxy that works off of AJAX like stuff.” From the README:
**** DISTRIBUTED WITHOUT WARRANTY OF ANY KIND ****
Bottled AJAX
Written by Benjamin Shropshire
This template library generates a JavaScript object declaration that
proxies for a D object on the server and a D function that is used
on the server to carry out the proxy operations.
see echo.d for an example of it’s use.
To use this program you will need “scrapple.cgi.cgi” It’s imported as
“cgi.cgi” so you might need to tweak some paths or package names.
On my system I build and deploy like this
dmd echo.d bottledAJAX.d cgi/cgi.d
install -gapache -oapache -m644 u.html /var/www/html/
install -gapache -oapache -m644 request.js /var/www/html/scripts/
install -gapache -oapache -m755 echo /var/www/cgi-bin/
if any of the paths change or the name of the executable changes you
will need to modify u.html and/or the build command.
****************
This package requires Phobos.
And since it seems like web-related D stuff is always announced in twos, Moritz Warning has let it be known that he has a JSON RPC interface module that allows you to use AJAX with JSON from D. This module requires Tango.
Aldacron has just used the Horizontal Rule (<hr>) element for the first time since 1996.
Technorati Tags: D Programming Language, C++, AJAX, JSON, web programming
Posted in News | No Comments »
Friday, March 7th, 2008
Walter has announced new versions of both the 1.x and 2.x DMD branches. The new 1.x version is, as always, mostly a collection of bug fixes, but it does share one new feature with the 2.x branch: comparing class types against null (using the == operator) now results in a compile time error. That should cut down on the number of D newbies getting bit by access violations they can’t track down.
As for 2.012, a boat load of new stuff there, most of it being in Phobos. The big changes that I’m looking at are the new predefined version(unittest), struct destructors and struct postblits (which are, effectively, copy constructors). Walter emphasized that struct constructors aren’t in yet. But you can be sure that some time in the near future the old static opcall struct trick will be a thing of the past for users of D 2.
If you are new to D, you should know that 1.x is considered stable and should be used for production (if you are willing to use D for production at all), while the 2.x branch is a moving target.
The const/invariant stuff still scares the bejeezus out of me, but the rest of D 2 is looking schweet. I’m not going to touch it, though, until it gets nice and locked down.
Technorati Tags: D Programming Language, DMD, Digital Mars, Walter Bright
Posted in DMD Releases, News | No Comments »