const(FAQ)
Saturday, March 29th, 2008Even more on constness. Walter has put up a FAQ to help clarify the D2 const regime. Bookmark it. It’s bound to grow over the coming months.
Technorati Tags: D Programming Language, Walter Bright
News and Opinions of the Digital Mars D Programming Language
Even more on constness. Walter has put up a FAQ to help clarify the D2 const regime. Bookmark it. It’s bound to grow over the coming months.
Technorati Tags: D Programming Language, Walter Bright
One of the most confusing aspects of D 2.0 is the const regime, the keywords and concepts involved in supporting read-only and immutable data. The basic premise of this system in 2.0 is that no language has yet gotten it right, including C++ and even D 1.0. I’ve not touched D2 yet and the discussions of const and friends in the NG have left my head spinning on more than one occasion.
Walter recently responded to a post on the NG with some insightful comments on the const regime in D2. His post doesn’t serve to explain the mechanics of the system to those who don’t understand it, but does explain the problems of implementing it and the reasons why it needs to be implemented correctly. I admit to being one of those Walter mentions in the post who have come to believe “const is bad” after all of the mess surrounding its implementation. After reading it, though, I’m inclined to give const a chance. If you are in the same boat, I recommend you give it a read as well.
This topic is certainly a good candidate for a post on Walter’s blog. Might we see one soon?
Technorati Tags: D Programming Language, Walter Bright
Planet D has a new home at planet.dsource.org. The old address will kick over to it if you don’t bother updating. And in case you didn’t get the memo, the feed for Planet D is now burned (http://feeds.feedburner.com/dplanet), with all of the benefits that entails.
Technorati Tags: D Programming Language, Planet D
Bartosz Milewski has posted an article titled SafeD–The Safe Subset of D. It ties into a recent blog post Walter made on memory safety.
Technorati Tags: D Programming Language
I’ve added a new category to the blog to collate all of the game and gamedev posts. I’ve also gone through old posts and updated all of the relevant posts I could find. I went through them rather quickly and may have overlooked a few. If you notice any, do let me know. Though, I intentionally left out all Derelict-related posts, so no need to let me know about those.
Now it should be easier for those looking for D game goodness to find the info they need here.
Technorati Tags: D Programming Language, games, game programming, game development