<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'><id>tag:blogger.com,1999:blog-18241482.post8147141947720886418..comments</id><updated>2009-04-24T01:53:34.700-07:00</updated><title type='text'>Comments on Programming and Debugging (in my Underhøøsen): Static Constructors in D.NET</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://the-free-meme.blogspot.com/feeds/8147141947720886418/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/18241482/8147141947720886418/comments/default'/><link rel='alternate' type='text/html' href='http://the-free-meme.blogspot.com/2009/04/static-constructors-in-dnet.html'/><author><name>The Free Meme</name><uri>http://www.blogger.com/profile/08287129746971472910</uri><email>cristi.vlasceanu@gmail.com</email></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>2</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-18241482.post-4631506133865610455</id><published>2009-04-24T01:53:00.000-07:00</published><updated>2009-04-24T01:53:00.000-07:00</updated><title type='text'>Hi BCSd, you are making a good point, which is tha...</title><content type='html'>Hi BCSd, you are making a good point, which is that in addition to class static ctors and dtors, D also has module static tors. The mechanics involved in supporting them in the .NET backend is slightly different from what I described in this post, and perhaps deserves a full-size blog entry.&lt;br /&gt;&lt;br /&gt;Your example does not compile under D 2.0, because const string literals are not implicitly-convertible to char[] -- you should use "string" instead.&lt;br /&gt;&lt;br /&gt;My D on .NET project focuses entirely on the 2.0 version of the language.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/18241482/8147141947720886418/comments/default/4631506133865610455'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/18241482/8147141947720886418/comments/default/4631506133865610455'/><link rel='alternate' type='text/html' href='http://the-free-meme.blogspot.com/2009/04/static-constructors-in-dnet.html?showComment=1240563180000#c4631506133865610455' title=''/><author><name>The Free Meme</name><uri>http://www.blogger.com/profile/08287129746971472910</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='05942387056293398693'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://the-free-meme.blogspot.com/2009/04/static-constructors-in-dnet.html' ref='tag:blogger.com,1999:blog-18241482.post-8147141947720886418' source='http://www.blogger.com/feeds/18241482/posts/default/8147141947720886418' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-18241482.post-7682714920788634879</id><published>2009-04-22T11:47:00.000-07:00</published><updated>2009-04-22T11:47:00.000-07:00</updated><title type='text'>Whatever you do make shure this works the same on ...</title><content type='html'>Whatever you do make shure this works the same on both sides:&lt;br /&gt;&lt;br /&gt;module A;&lt;br /&gt;&lt;br /&gt;char[][char[]] map;&lt;br /&gt;void main()&lt;br /&gt;{&lt;br /&gt;   foreach(k,v;map)&lt;br /&gt;      writef(&amp;quot;%s -&amp;gt; %s\n&amp;quot;, k,v);&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;module B;&lt;br /&gt;import A;&lt;br /&gt;static this()&lt;br /&gt;{&lt;br /&gt;   map[&amp;quot;hello&amp;quot;] = &amp;quot;world&amp;quot;;&lt;br /&gt;}</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/18241482/8147141947720886418/comments/default/7682714920788634879'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/18241482/8147141947720886418/comments/default/7682714920788634879'/><link rel='alternate' type='text/html' href='http://the-free-meme.blogspot.com/2009/04/static-constructors-in-dnet.html?showComment=1240426020000#c7682714920788634879' title=''/><author><name>BCSd</name><uri>http://www.blogger.com/profile/13116517988033017470</uri><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://the-free-meme.blogspot.com/2009/04/static-constructors-in-dnet.html' ref='tag:blogger.com,1999:blog-18241482.post-8147141947720886418' source='http://www.blogger.com/feeds/18241482/posts/default/8147141947720886418' type='text/html'/></entry></feed>