DMD 1.010

March 26th, 2007 | by Aldacron |

Walter has announced DMD 1.010. More enhancements than usual, fewer bug fixes than usual. Here’s one that really looks interesting from my point of view:

Added Object.factory(char[] classname) method to create
class objects based on a string.

I use dynamic instantiation quite often in Java, particularly for plugin functionality. I don’t miss it when using C because I wear my C hat then. When I use D I keep wanting to put my Java hat on, which ends up being like buying hamburgers at Taco Bell. I have yet to test it, but if it’s possible to instantiate classes from shared libraries then I’ll do back flips. If not, then it doesn’t solve the problem completely.

Either way, I’m still happy to see the new stuff!

Technorati Tags: , , ,

Post a Comment