<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" media="screen" href="/styles/xslt/rss.xslt"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:c9="http://channel9.msdn.com">
<channel>
	<title>Comment Feed for Channel 9 - Alexandrescu, Meyers, Sutter: On Static If, C++11 in 2012, Modern Libraries, and Metaprogramming</title>
	<atom:link rel="self" type="application/rss+xml" href="http://channel9.msdn.com/Shows/Going+Deep/Alexandrescu-Meyers-Sutter-On-Static-If-C11-in-2012-Modern-Libraries-and-Metaprogramming/RSS"></atom:link>
	<image>
		<url>http://media.ch9.ms/ch9/b0b0/86dd3553-2a43-44c6-a875-6da10055b0b0/AndreiHerbScottCB2012C9Interview_220.jpg</url>
		<title>Channel 9 - Alexandrescu, Meyers, Sutter: On Static If, C++11 in 2012, Modern Libraries, and Metaprogramming</title>
		<link></link>
	</image>
	<description>Channel 9 was invited to this year&#39;s C&amp;#43;&amp;#43; and Beyond to film some sessions (that will appear on C9 over the coming months!) and have a chat with the &amp;quot;Big Three&amp;quot;: Andrei Alexandrescu, Scott Meyers, and Herb Sutter. If you are a C&amp;#43;&amp;#43; programmer, then you know these names very well. If you&#39;ve not heard of C&amp;#43;&amp;#43; and Beyond, well, put it down as a must-attend event (let&#39;s hope they do it again in 2013!). You can see material from last year&#39;s event here.At the end of day 2, Andrei, Herb and Scott graciously agreed to spend some time discussing various modern C&amp;#43;&amp;#43; topics and, even better, answering questions from the community. In fact, the questions from Niners (and a conversation on reddit/r/cpp) drove the conversation. Huge thanks to Andrei, Herb, and Scott for their time and wisdom. Thanks, too,&amp;nbsp;to the Niners who asked great questions!Here&#39;s what happened: [00:00] Themes for C&amp;#43;&amp;#43; in 2012 and beyond (and C&amp;#43;&amp;#43; and Beyond 2012)[07:00] C&amp;#43;&amp;#43;11 Efficiency and Concurrency/Parallelism (Standardization)[12:12] dot_tom asks: When can we expect standardized modern libraries like, XML, File system, Web Services?[15:00] ZippyV asks: Standardized modern&amp;nbsp;libraries: What has the response been? Any unexpected requests?[17:17] static if[26:26] Matt_PD asks: Future of template metaprogramming? Standardizing static loops?[40:07] More on template metaprogramming (and static if and enable_if)...[50:05] async/await language feature in C&amp;#43;&amp;#43; would be nice, C&amp;amp;B 2013? </description>
	<link></link>
	<language>en</language>
	<pubDate>Wed, 19 Jun 2013 20:04:38 GMT</pubDate>
	<lastBuildDate>Wed, 19 Jun 2013 20:04:38 GMT</lastBuildDate>
	<generator>Rev9</generator>
	<item>
		<title>Re: Alexandrescu, Meyers, Sutter: On Static If, C++11 in 2012, Modern Libraries, and Metaprogramming</title>
		<description>
			<![CDATA[<p>Wonderful! I've been waiting for the C&#43;&#43; and Beyond 2012 coverage. Very happy to see it here!</p><p>posted by tomkirbygreen</p>]]>
		</description>
		<link>http://channel9.msdn.com/Shows/Going+Deep/Alexandrescu-Meyers-Sutter-On-Static-If-C11-in-2012-Modern-Libraries-and-Metaprogramming#c634811583196398457</link>
		<pubDate>Tue, 21 Aug 2012 15:05:19 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Shows/Going+Deep/Alexandrescu-Meyers-Sutter-On-Static-If-C11-in-2012-Modern-Libraries-and-Metaprogramming#c634811583196398457</guid>
		<dc:creator>tomkirbygreen</dc:creator>
	</item>
	<item>
		<title>Re: Alexandrescu, Meyers, Sutter: On Static If, C++11 in 2012, Modern Libraries, and Metaprogramming</title>
		<description>
			<![CDATA[<p>@<a href="/Shows/Going&#43;Deep/Alexandrescu-Meyers-Sutter-On-Static-If-C11-in-2012-Modern-Libraries-and-Metaprogramming#c634811583196398457">dot_tom</a>: And your question was answered <img src='http://ecn.channel9.msdn.com/o9/content/images/emoticons/emotion-1.gif?v=c9' alt='Smiley' /> Thanks for asking it!</p><p>C</p><p>posted by Charles</p>]]>
		</description>
		<link>http://channel9.msdn.com/Shows/Going+Deep/Alexandrescu-Meyers-Sutter-On-Static-If-C11-in-2012-Modern-Libraries-and-Metaprogramming#c634811599346045939</link>
		<pubDate>Tue, 21 Aug 2012 15:32:14 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Shows/Going+Deep/Alexandrescu-Meyers-Sutter-On-Static-If-C11-in-2012-Modern-Libraries-and-Metaprogramming#c634811599346045939</guid>
		<dc:creator>Charles</dc:creator>
	</item>
	<item>
		<title>Re: Alexandrescu, Meyers, Sutter: On Static If, C++11 in 2012, Modern Libraries, and Metaprogramming</title>
		<description>
			<![CDATA[<p>What about header files?&nbsp; Will they always be required? I suppose you could say the editor should just automatically generate the header, but then there is the requirement to include the header in the .cpp file. Anyway, having to duplicate the definition of a function in the .h and .cpp files really slows me down when coding C&#43;&#43;. It also impacts code organization. VC&#43;&#43; 2012 allows filters to organize code, but that is not as good as using folders in C#. In C# I have each class in its own source file, where the name of the source file is the name of the class. Then the source files are organized in a hierarchy of folders and sub folders. I try to do roughly the same in c&#43;&#43; projects, but class declarations are still consolidated in a single .h files. Which results in a single .h file and multiple .cpp files, which requires more organizational thought to assign meaningful file names, and makes it harder to find the file in solution explorer that I need to edit.</p><p>&nbsp;</p><p>posted by SteveRichter</p>]]>
		</description>
		<link>http://channel9.msdn.com/Shows/Going+Deep/Alexandrescu-Meyers-Sutter-On-Static-If-C11-in-2012-Modern-Libraries-and-Metaprogramming#c634811620001976684</link>
		<pubDate>Tue, 21 Aug 2012 16:06:40 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Shows/Going+Deep/Alexandrescu-Meyers-Sutter-On-Static-If-C11-in-2012-Modern-Libraries-and-Metaprogramming#c634811620001976684</guid>
		<dc:creator>SteveRichter</dc:creator>
	</item>
	<item>
		<title>Re: Alexandrescu, Meyers, Sutter: On Static If, C++11 in 2012, Modern Libraries, and Metaprogramming</title>
		<description>
			<![CDATA[<p>Will the ^ syntax used in c&#43;&#43; WinRT apps be enabled for all windows apps? I assume the hat syntax encapsulates some sort of automatic implementation of smart pointers. It looks like a feature I would like to use.</p><p>&nbsp;</p><p>posted by SteveRichter</p>]]>
		</description>
		<link>http://channel9.msdn.com/Shows/Going+Deep/Alexandrescu-Meyers-Sutter-On-Static-If-C11-in-2012-Modern-Libraries-and-Metaprogramming#c634811623238882745</link>
		<pubDate>Tue, 21 Aug 2012 16:12:03 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Shows/Going+Deep/Alexandrescu-Meyers-Sutter-On-Static-If-C11-in-2012-Modern-Libraries-and-Metaprogramming#c634811623238882745</guid>
		<dc:creator>SteveRichter</dc:creator>
	</item>
	<item>
		<title>Re: Alexandrescu, Meyers, Sutter: On Static If, C++11 in 2012, Modern Libraries, and Metaprogramming</title>
		<description>
			<![CDATA[Andrei&#58; To be fair, part of the reason we got away without static foreach in D so far is that we _do_ have compile-time foreach &#8211; pretty much the only thing that&#39;s missing compared to a &#34;full&#34; implementation is availability outside functions&#58;<br><br>---<br>import std.stdio, std.typetuple&#59;<br>void main&#40;&#41; &#123;<br>    foreach &#40;T&#59; TypeTuple&#33;&#40;int, float, string&#41;&#41; &#123;<br>        writeln&#40;T.stringof&#41;&#59;<br>    &#125;<br>&#125;<br>---<p>posted by David Nadlinger</p>]]>
		</description>
		<link>http://channel9.msdn.com/Shows/Going+Deep/Alexandrescu-Meyers-Sutter-On-Static-If-C11-in-2012-Modern-Libraries-and-Metaprogramming#c634811672202470170</link>
		<pubDate>Tue, 21 Aug 2012 17:33:40 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Shows/Going+Deep/Alexandrescu-Meyers-Sutter-On-Static-If-C11-in-2012-Modern-Libraries-and-Metaprogramming#c634811672202470170</guid>
		<dc:creator>David Nadlinger</dc:creator>
	</item>
	<item>
		<title>Re: Alexandrescu, Meyers, Sutter: On Static If, C++11 in 2012, Modern Libraries, and Metaprogramming</title>
		<description>
			<![CDATA[<p>shhh.....what was that special announcement by herb again ? <img src='http://ecn.channel9.msdn.com/o9/content/images/emoticons/emotion-14.gif?v=c9' alt='Devil' /></p><p>posted by felix9</p>]]>
		</description>
		<link>http://channel9.msdn.com/Shows/Going+Deep/Alexandrescu-Meyers-Sutter-On-Static-If-C11-in-2012-Modern-Libraries-and-Metaprogramming#c634811673647214171</link>
		<pubDate>Tue, 21 Aug 2012 17:36:04 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Shows/Going+Deep/Alexandrescu-Meyers-Sutter-On-Static-If-C11-in-2012-Modern-Libraries-and-Metaprogramming#c634811673647214171</guid>
		<dc:creator>felix9</dc:creator>
	</item>
	<item>
		<title>Re: Alexandrescu, Meyers, Sutter: On Static If, C++11 in 2012, Modern Libraries, and Metaprogramming</title>
		<description>
			<![CDATA[<p>David: You're of course right. By and large I'm trying to minimize mentions of D in C&#43;&#43; contexts because it's as unfair as bringing a machine gun to a knife fight.</p><p>posted by andrei_alexandrescu</p>]]>
		</description>
		<link>http://channel9.msdn.com/Shows/Going+Deep/Alexandrescu-Meyers-Sutter-On-Static-If-C11-in-2012-Modern-Libraries-and-Metaprogramming#c634811706621276692</link>
		<pubDate>Tue, 21 Aug 2012 18:31:02 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Shows/Going+Deep/Alexandrescu-Meyers-Sutter-On-Static-If-C11-in-2012-Modern-Libraries-and-Metaprogramming#c634811706621276692</guid>
		<dc:creator>andrei_alexandrescu</dc:creator>
	</item>
	<item>
		<title>Re: Alexandrescu, Meyers, Sutter: On Static If, C++11 in 2012, Modern Libraries, and Metaprogramming</title>
		<description>
			<![CDATA[<p>Nice discussion, thanks for making it available.</p><p>posted by Moondevil</p>]]>
		</description>
		<link>http://channel9.msdn.com/Shows/Going+Deep/Alexandrescu-Meyers-Sutter-On-Static-If-C11-in-2012-Modern-Libraries-and-Metaprogramming#c634811714145752499</link>
		<pubDate>Tue, 21 Aug 2012 18:43:34 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Shows/Going+Deep/Alexandrescu-Meyers-Sutter-On-Static-If-C11-in-2012-Modern-Libraries-and-Metaprogramming#c634811714145752499</guid>
		<dc:creator>Moondevil</dc:creator>
	</item>
	<item>
		<title>Re: Alexandrescu, Meyers, Sutter: On Static If, C++11 in 2012, Modern Libraries, and Metaprogramming</title>
		<description>
			<![CDATA[At 41&#58;48 Andrei mentioned a paper on optimisation, and asked if a link couls be place with the video. Do you have the link yet.<p>posted by Cairn</p>]]>
		</description>
		<link>http://channel9.msdn.com/Shows/Going+Deep/Alexandrescu-Meyers-Sutter-On-Static-If-C11-in-2012-Modern-Libraries-and-Metaprogramming#c634811769972368847</link>
		<pubDate>Tue, 21 Aug 2012 20:16:37 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Shows/Going+Deep/Alexandrescu-Meyers-Sutter-On-Static-If-C11-in-2012-Modern-Libraries-and-Metaprogramming#c634811769972368847</guid>
		<dc:creator>Cairn</dc:creator>
	</item>
	<item>
		<title>Re: Alexandrescu, Meyers, Sutter: On Static If, C++11 in 2012, Modern Libraries, and Metaprogramming</title>
		<description>
			<![CDATA[<p>@<a href="/Shows/Going&#43;Deep/Alexandrescu-Meyers-Sutter-On-Static-If-C11-in-2012-Modern-Libraries-and-Metaprogramming#c634811769972368847">Cairn</a>: Yes: <a href="http://www.agner.org/optimize/optimizing_cpp.pdf">http://www.agner.org/optimize/optimizing_cpp.pdf</a> &amp; <a href="http://www.agner.org/optimize/#manuals">http://www.agner.org/optimize/#manuals</a>.</p><p>posted by Charles</p>]]>
		</description>
		<link>http://channel9.msdn.com/Shows/Going+Deep/Alexandrescu-Meyers-Sutter-On-Static-If-C11-in-2012-Modern-Libraries-and-Metaprogramming#c634811772581440457</link>
		<pubDate>Tue, 21 Aug 2012 20:20:58 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Shows/Going+Deep/Alexandrescu-Meyers-Sutter-On-Static-If-C11-in-2012-Modern-Libraries-and-Metaprogramming#c634811772581440457</guid>
		<dc:creator>Charles</dc:creator>
	</item>
	<item>
		<title>Re: Alexandrescu, Meyers, Sutter: On Static If, C++11 in 2012, Modern Libraries, and Metaprogramming</title>
		<description>
			<![CDATA[<p>Thanks for passing on the (admittedly long-winded) question, Charles!<br>And, of course, thanks for the insightful answers from all! <img src='http://ecn.channel9.msdn.com/o9/content/images/emoticons/emotion-1.gif?v=c9' alt='Smiley' /><br><br>In particular, Andrei's sentiments are quite compatible to mine here -- for instance, the fact that more metaprogramming facilities go hand in hand with the greater use of (and the need for) the supporting infrastructure (or &quot;a web of supporting facilities in the language and in the std. lib.,&quot; as in CTFE in the tangent function values compile-time tabulation example). That's also why I'm looking into this area with a renewed interest now, given C&#43;&#43;11's progress -- in fact, constexpr, also mentioned in the discussion, is one of the new C&#43;&#43;11 features I'm most happy about in this context and I'm already thinking of it as being a part of this very supporting infrastructure <img src='http://ecn.channel9.msdn.com/o9/content/images/emoticons/emotion-1.gif?v=c9' alt='Smiley' /><br><br>In particular, CTFE (D) seems to be one of the requirements for the aforementioned example and constexpr (C&#43;&#43;11) seems to provide just that: <a href="http://en.wikipedia.org/wiki/Compile_time_function_execution">http&#58;&#47;&#47;en.wikipedia.org&#47;wiki&#47;Compile_time_function_execution</a><br><br>// Incidentally, constexpr being another form of compile-time language is also a very good point, there are already some nice examples out there illustrating the code simplification (relative to C&#43;&#43;03 TMP) it allows for: <a href="http://kaizer.se/wiki/log/post/C++_constexpr/">http&#58;&#47;&#47;kaizer.se&#47;wiki&#47;log&#47;post&#47;C&#43;&#43;_constexpr&#47;</a> &amp; <a href="http://kaizer.se/wiki/log/post/C++_constexpr_foldr/">http&#58;&#47;&#47;kaizer.se&#47;wiki&#47;log&#47;post&#47;C&#43;&#43;_constexpr_foldr&#47;</a><br><br>Charles has already <a href="http://channel9.msdn.com/Forums/TechOff/Andrei-Herb-and-Scott-Got-C11-Questions">linked</a> to the questions thread with the link to Agner's example so I won't spam here again, but can also add Compile-Time Language (CTL) available in High Level Assembly (HLA) as another illustration:<br><a href="http://www.phatcode.net/res/260/files/html/HLACompileTimeLanguagea3.html#999072">http&#58;&#47;&#47;www.phatcode.net&#47;res&#47;260&#47;files&#47;html&#47;HLACompileTimeLanguagea3.html&#35;999072</a><br>// See also 8.3 Writing Compile-Time &quot;Programs&quot;: <a href="http://www.phatcode.net/res/260/files/html/Macros2.html#1009074">http&#58;&#47;&#47;www.phatcode.net&#47;res&#47;260&#47;files&#47;html&#47;Macros2.html&#35;1009074</a><br><br>I think the point on making the language available for everyone (&quot;language should be comphrehensible and usable for 100% of its users&quot;) is also a great point which I fully agree with. In fact, that's an important motivating factor -- ideally TMP should *not* be a feature just for the &quot;select few&quot; and I think we agree that it's more a result of a historical coincidence in the case of TMP rather than an inherent difficulty of TMP itself. Hence, Herb's and Scott's points (as in the worries about repelled-not-attracted or run-screaming reactions ;]) are fully and well taken (it's also true TMP is indeed just one area of C&#43;&#43; and not in quite as widespread use as the others). At the same time, simplifying the syntax / removing the awkwardness are directly meant to address this exact point <img src='http://ecn.channel9.msdn.com/o9/content/images/emoticons/emotion-1.gif?v=c9' alt='Smiley' /> In other words, this is how I view the role of extensions like &quot;static_if&quot; (instead of hand-crafted template specialization equivalent) or, say, &quot;static_while&quot; (instead of, say, hand-crafted recursive template instantiation equivalent) -- similarly to &quot;constexpr&quot;, they allow to achieve what's already (at least theoretically / in some cases) possible, but do it in a natural fashion providing accessibility and ease of use to a wider base of developers.<br><br></p><p>posted by Matt_PD</p>]]>
		</description>
		<link>http://channel9.msdn.com/Shows/Going+Deep/Alexandrescu-Meyers-Sutter-On-Static-If-C11-in-2012-Modern-Libraries-and-Metaprogramming#c634811812702057142</link>
		<pubDate>Tue, 21 Aug 2012 21:27:50 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Shows/Going+Deep/Alexandrescu-Meyers-Sutter-On-Static-If-C11-in-2012-Modern-Libraries-and-Metaprogramming#c634811812702057142</guid>
		<dc:creator>Matt_PD</dc:creator>
	</item>
	<item>
		<title>Re: Alexandrescu, Meyers, Sutter: On Static If, C++11 in 2012, Modern Libraries, and Metaprogramming</title>
		<description>
			<![CDATA[<p>Why so long to produce an XML library? Excuse me if I do not understand the context of the issue. Why would it take years&nbsp;to code the equivalent of LINQ to XML in C&#43;&#43;?</p><p>&nbsp;</p><p>&nbsp;</p><p>posted by SteveRichter</p>]]>
		</description>
		<link>http://channel9.msdn.com/Shows/Going+Deep/Alexandrescu-Meyers-Sutter-On-Static-If-C11-in-2012-Modern-Libraries-and-Metaprogramming#c634811840960974249</link>
		<pubDate>Tue, 21 Aug 2012 22:14:56 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Shows/Going+Deep/Alexandrescu-Meyers-Sutter-On-Static-If-C11-in-2012-Modern-Libraries-and-Metaprogramming#c634811840960974249</guid>
		<dc:creator>SteveRichter</dc:creator>
	</item>
	<item>
		<title>Re: Alexandrescu, Meyers, Sutter: On Static If, C++11 in 2012, Modern Libraries, and Metaprogramming</title>
		<description>
			<![CDATA[<p>Why is this native movement ONLY for the client?</p><p><span>Where is a native server framework</span>? All of the server frameworks that MS offers are managed, ASP.Net Webform, MVC, and on it goes.</p><p>How is it possible that native, which is only needed in a few cases on the client, but massively needed on the server where <em><strong>every</strong> </em>cycle counts, is nonexistant?</p><p>posted by samcov</p>]]>
		</description>
		<link>http://channel9.msdn.com/Shows/Going+Deep/Alexandrescu-Meyers-Sutter-On-Static-If-C11-in-2012-Modern-Libraries-and-Metaprogramming#c634811875169444335</link>
		<pubDate>Tue, 21 Aug 2012 23:11:56 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Shows/Going+Deep/Alexandrescu-Meyers-Sutter-On-Static-If-C11-in-2012-Modern-Libraries-and-Metaprogramming#c634811875169444335</guid>
		<dc:creator>samcov</dc:creator>
	</item>
	<item>
		<title>Re: Alexandrescu, Meyers, Sutter: On Static If, C++11 in 2012, Modern Libraries, and Metaprogramming</title>
		<description>
			<![CDATA[<p></p><blockquote><div class="quoteText"><p></p><p><a class="permalink" title="Comment Permalink" href="/Shows/Going&#43;Deep/Alexandrescu-Meyers-Sutter-On-Static-If-C11-in-2012-Modern-Libraries-and-Metaprogramming#c634811812702057142">2 hours&nbsp;ago</a>, <a href="/Niners/Matt_PD">Matt_PD</a> wrote</p><p>Hence, Herb's and Scott's points (as in the worries about repelled-not-attracted or run-screaming reactions ;]) are fully and well taken (it's also true TMP is indeed just one area of C&#43;&#43; and not in quite as widespread use as the others). At the same time, simplifying the syntax / removing the awkwardness are directly meant to address this exact point<br><br></p><p></p></div></blockquote><p></p><p>Exactly. I'd say people run screaming not because they fear metaprogramming, but because of the unbearable awkwardness of advanced C&#43;&#43; <em>template metaprogramming.</em></p><p>posted by Novox</p>]]>
		</description>
		<link>http://channel9.msdn.com/Shows/Going+Deep/Alexandrescu-Meyers-Sutter-On-Static-If-C11-in-2012-Modern-Libraries-and-Metaprogramming#c634811897761340718</link>
		<pubDate>Tue, 21 Aug 2012 23:49:36 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Shows/Going+Deep/Alexandrescu-Meyers-Sutter-On-Static-If-C11-in-2012-Modern-Libraries-and-Metaprogramming#c634811897761340718</guid>
		<dc:creator>Novox</dc:creator>
	</item>
	<item>
		<title>Re: Alexandrescu, Meyers, Sutter: On Static If, C++11 in 2012, Modern Libraries, and Metaprogramming</title>
		<description>
			<![CDATA[<p>@<a href="/Shows/Going&#43;Deep/Alexandrescu-Meyers-Sutter-On-Static-If-C11-in-2012-Modern-Libraries-and-Metaprogramming#c634811897761340718">Novox</a>: Is there some other form of metaprogramming in C&#43;&#43;?<br>C</p><p>posted by Charles</p>]]>
		</description>
		<link>http://channel9.msdn.com/Shows/Going+Deep/Alexandrescu-Meyers-Sutter-On-Static-If-C11-in-2012-Modern-Libraries-and-Metaprogramming#c634811984119074638</link>
		<pubDate>Wed, 22 Aug 2012 02:13:31 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Shows/Going+Deep/Alexandrescu-Meyers-Sutter-On-Static-If-C11-in-2012-Modern-Libraries-and-Metaprogramming#c634811984119074638</guid>
		<dc:creator>Charles</dc:creator>
	</item>
	<item>
		<title>Re: Alexandrescu, Meyers, Sutter: On Static If, C++11 in 2012, Modern Libraries, and Metaprogramming</title>
		<description>
			<![CDATA[<p></p><blockquote><div class="quoteText"><p></p><p><a class="permalink" title="Comment Permalink" href="/Shows/Going&#43;Deep/Alexandrescu-Meyers-Sutter-On-Static-If-C11-in-2012-Modern-Libraries-and-Metaprogramming#c634811706621276692">7 hours&nbsp;ago</a>, <a href="/Niners/andrei_alexandrescu">andrei_alex​andrescu</a> wrote</p><p>David: You're of course right. By and large I'm trying to minimize mentions of D in C&#43;&#43; contexts because it's as unfair as bringing a machine gun to a knife fight.</p><p></p></div></blockquote><br><br><strong>D</strong>estroy! <img src='http://ecn.channel9.msdn.com/o9/content/images/emoticons/emotion-1.gif?v=c9' alt='Smiley' /><p></p><p>C</p><p>posted by Charles</p>]]>
		</description>
		<link>http://channel9.msdn.com/Shows/Going+Deep/Alexandrescu-Meyers-Sutter-On-Static-If-C11-in-2012-Modern-Libraries-and-Metaprogramming#c634811984679120625</link>
		<pubDate>Wed, 22 Aug 2012 02:14:27 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Shows/Going+Deep/Alexandrescu-Meyers-Sutter-On-Static-If-C11-in-2012-Modern-Libraries-and-Metaprogramming#c634811984679120625</guid>
		<dc:creator>Charles</dc:creator>
	</item>
	<item>
		<title>Re: Alexandrescu, Meyers, Sutter: On Static If, C++11 in 2012, Modern Libraries, and Metaprogramming</title>
		<description>
			<![CDATA[<p></p><blockquote><div class="quoteText"><p></p><p><a class="permalink" title="Comment Permalink" href="/Shows/Going&#43;Deep/Alexandrescu-Meyers-Sutter-On-Static-If-C11-in-2012-Modern-Libraries-and-Metaprogramming#c634811984119074638">10 hours&nbsp;ago</a>, <a href="/Niners/Charles">Charles</a> wrote</p><p>@<a href="/Shows/Going&#43;Deep/Alexandrescu-Meyers-Sutter-On-Static-If-C11-in-2012-Modern-Libraries-and-Metaprogramming#c634811897761340718">Novox</a>: Is there some other form of metaprogramming in C&#43;&#43;?<br>C</p><p></p></div></blockquote><p></p><p>That's the point: No, there isn't (well, if you ignore C macros, which are metaprograms).&nbsp;Herb is certainly right that currently the use of metaprogramming in C&#43;&#43; is limited to an Elite Priesthood™, but I do not believe that the sole reason is metaprogramming per se or its limited usefulness, but the fact that C&#43;&#43; does not yet have proper support for metaprogramming. And that's why a language extension like &quot;static if&quot; might be a valuable addition to the language: It could make metaprogramming in C&#43;&#43; more accessible, maybe even user-friendly.</p><p>posted by Novox</p>]]>
		</description>
		<link>http://channel9.msdn.com/Shows/Going+Deep/Alexandrescu-Meyers-Sutter-On-Static-If-C11-in-2012-Modern-Libraries-and-Metaprogramming#c634812370988235596</link>
		<pubDate>Wed, 22 Aug 2012 12:58:18 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Shows/Going+Deep/Alexandrescu-Meyers-Sutter-On-Static-If-C11-in-2012-Modern-Libraries-and-Metaprogramming#c634812370988235596</guid>
		<dc:creator>Novox</dc:creator>
	</item>
	<item>
		<title>Re: Alexandrescu, Meyers, Sutter: On Static If, C++11 in 2012, Modern Libraries, and Metaprogramming</title>
		<description>
			<![CDATA[&#64;Novox&#58; This. Putting aside claims of languages that they&#39;ve supported metaprogramming for years, it seems to me that this is the next obvious step just like C&#43;&#43; was the next obvious step all those years ago.<br><br>I&#39;m not remotely a big metaprogramming user, but I don&#39;t think even the experts would argue against the fact that it needs to be a lot easier.<br><br>Andrei is right that we need to make better usage of the hardware we already have. Sure, C&#43;&#43;11 features will help, rvalue references, constexpr etc. but times have moved on. &#34;Modern C&#43;&#43; Design&#34; was published in 2001&#33; It is not unreasonable to at least be planning to radically move the state of the art forward. Who genuinely wants to be stuck forever in the 1970s&#63;<p>posted by Ben Hanson</p>]]>
		</description>
		<link>http://channel9.msdn.com/Shows/Going+Deep/Alexandrescu-Meyers-Sutter-On-Static-If-C11-in-2012-Modern-Libraries-and-Metaprogramming#c634812381232489243</link>
		<pubDate>Wed, 22 Aug 2012 13:15:23 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Shows/Going+Deep/Alexandrescu-Meyers-Sutter-On-Static-If-C11-in-2012-Modern-Libraries-and-Metaprogramming#c634812381232489243</guid>
		<dc:creator>Ben Hanson</dc:creator>
	</item>
	<item>
		<title>Re: Alexandrescu, Meyers, Sutter: On Static If, C++11 in 2012, Modern Libraries, and Metaprogramming</title>
		<description>
			<![CDATA[Herb was talking about doing &#34;significantly better than precompiled headers&#34;.<br>He talked in the context of speeding up compilation. <br><br>However I had a different need for &#34;standard&#34; precompiled headers. <br><br>The idea is that if we have &#34;standard&#34; precompiled headers which can be explicitly included like header files, we can release template libraries in binary form in the same way as we release dlls or static libs. &#40;i.e. without giving out source code&#41;.<br><p>posted by Jackson</p>]]>
		</description>
		<link>http://channel9.msdn.com/Shows/Going+Deep/Alexandrescu-Meyers-Sutter-On-Static-If-C11-in-2012-Modern-Libraries-and-Metaprogramming#c634812417937979099</link>
		<pubDate>Wed, 22 Aug 2012 14:16:33 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Shows/Going+Deep/Alexandrescu-Meyers-Sutter-On-Static-If-C11-in-2012-Modern-Libraries-and-Metaprogramming#c634812417937979099</guid>
		<dc:creator>Jackson</dc:creator>
	</item>
	<item>
		<title>Re: Alexandrescu, Meyers, Sutter: On Static If, C++11 in 2012, Modern Libraries, and Metaprogramming</title>
		<description>
			<![CDATA[<p>Let's also not forget that up until now, a lot of the benefit of metaprogramming has been taken by ever increasingly clever compile-time optimisations.</p><p>For example</p><p>if(sizeof(void*) == 4)<br>&nbsp; Do_X86()<br>else if(sizeof(void*) == 8 )<br>&nbsp; Do_X64()</p><p>behaves as a static-if in Visual Studio's release builds, because the compiler is smart enough to see that the condition can be determined at compile-time and the unused branch can be removed.</p><p>Similarly (3 * foo) typically becomes ((foo &lt;&lt; 1) &#43; foo) in release builds to avoid the multiply - something that other programming languages might try and do by having a meta-programming multiply_by_constant that is clever enough to know tricks to avoid performing&nbsp;multiplies&nbsp;on the hardware.</p><p>Meta-programming is certainly interesting from a&nbsp;<em>language</em> perspective, but without a good grounding in compiler theory, it's easy to overstate its important from a&nbsp;<em>performance&nbsp;</em>perspective.</p><p>posted by evildictaitor</p>]]>
		</description>
		<link>http://channel9.msdn.com/Shows/Going+Deep/Alexandrescu-Meyers-Sutter-On-Static-If-C11-in-2012-Modern-Libraries-and-Metaprogramming#c634814024768635819</link>
		<pubDate>Fri, 24 Aug 2012 10:54:36 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Shows/Going+Deep/Alexandrescu-Meyers-Sutter-On-Static-If-C11-in-2012-Modern-Libraries-and-Metaprogramming#c634814024768635819</guid>
		<dc:creator>evildictaitor</dc:creator>
	</item>
	<item>
		<title>Re: Alexandrescu, Meyers, Sutter: On Static If, C++11 in 2012, Modern Libraries, and Metaprogramming</title>
		<description>
			<![CDATA[Great&#33; Have been waiting for C&#38;B 2012 stuff. Thanks so much &#58;&#41;<p>posted by Christian Semmler</p>]]>
		</description>
		<link>http://channel9.msdn.com/Shows/Going+Deep/Alexandrescu-Meyers-Sutter-On-Static-If-C11-in-2012-Modern-Libraries-and-Metaprogramming#c634814264269214796</link>
		<pubDate>Fri, 24 Aug 2012 17:33:46 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Shows/Going+Deep/Alexandrescu-Meyers-Sutter-On-Static-If-C11-in-2012-Modern-Libraries-and-Metaprogramming#c634814264269214796</guid>
		<dc:creator>Christian Semmler</dc:creator>
	</item>
	<item>
		<title>Re: Alexandrescu, Meyers, Sutter: On Static If, C++11 in 2012, Modern Libraries, and Metaprogramming</title>
		<description>
			<![CDATA[&#64;evildictait&#8203;or&#58; I tried this very technique recently instead of resorting to compile-time dispatch and I got compiler warnings &#40;else is never executed etc.&#41; so I disagree. If compilers are getting smarter then that is great, but I don&#39;t see that it makes metaprogramming unnecessary.<p>posted by Ben Hanson</p>]]>
		</description>
		<link>http://channel9.msdn.com/Shows/Going+Deep/Alexandrescu-Meyers-Sutter-On-Static-If-C11-in-2012-Modern-Libraries-and-Metaprogramming#c634816019704808344</link>
		<pubDate>Sun, 26 Aug 2012 18:19:30 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Shows/Going+Deep/Alexandrescu-Meyers-Sutter-On-Static-If-C11-in-2012-Modern-Libraries-and-Metaprogramming#c634816019704808344</guid>
		<dc:creator>Ben Hanson</dc:creator>
	</item>
	<item>
		<title>Re: Alexandrescu, Meyers, Sutter: On Static If, C++11 in 2012, Modern Libraries, and Metaprogramming</title>
		<description>
			<![CDATA[<p>Hi Charles, is there a schedule for posting other session videos from C&#43;&#43; and Beyond&nbsp;2012? I'm particularly keen to see Andrei's presentation about high perf C&#43;&#43;.</p><p>posted by tomkirbygreen</p>]]>
		</description>
		<link>http://channel9.msdn.com/Shows/Going+Deep/Alexandrescu-Meyers-Sutter-On-Static-If-C11-in-2012-Modern-Libraries-and-Metaprogramming#c634829494652165637</link>
		<pubDate>Tue, 11 Sep 2012 08:37:45 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Shows/Going+Deep/Alexandrescu-Meyers-Sutter-On-Static-If-C11-in-2012-Modern-Libraries-and-Metaprogramming#c634829494652165637</guid>
		<dc:creator>tomkirbygreen</dc:creator>
	</item>
	<item>
		<title>Re: Alexandrescu, Meyers, Sutter: On Static If, C++11 in 2012, Modern Libraries, and Metaprogramming</title>
		<description>
			<![CDATA[<p>@<a href="/Shows/Going&#43;Deep/Alexandrescu-Meyers-Sutter-On-Static-If-C11-in-2012-Modern-Libraries-and-Metaprogramming#c634829494652165637">dot_tom</a>: Hi Tom!<br><br>Actually, that specific&nbsp;talk will not be published on Channel 9 (or anywhere else for that matter, I believe). <br><br>The rough &quot;schedule&quot; is:<br><br>up next: Ask Us Anything Panel<br>then Scott Meyers Session (Universal References)<br>then Andrei Session (Systematic Error Handling in C&#43;&#43;)<br>then Herb Session (You don't know _ about _)<br>then Herb Session (Concurrency and Parallelism)<br>then Herb Session (Memory Model P1)<br>then Herb Session (Memory Model P2)<br>then Convincing Your Boss (to move to C&#43;&#43;11) Panel<br><br>Something like that... Sorry for not being specific (no exact dates). There will be great content here from this event, but we need to be patient (I mean, I'm ready to ship it <strong>all</strong>, but that's not going to happen...).</p><p>C</p><p>posted by Charles</p>]]>
		</description>
		<link>http://channel9.msdn.com/Shows/Going+Deep/Alexandrescu-Meyers-Sutter-On-Static-If-C11-in-2012-Modern-Libraries-and-Metaprogramming#c634835227170403717</link>
		<pubDate>Mon, 17 Sep 2012 23:51:57 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Shows/Going+Deep/Alexandrescu-Meyers-Sutter-On-Static-If-C11-in-2012-Modern-Libraries-and-Metaprogramming#c634835227170403717</guid>
		<dc:creator>Charles</dc:creator>
	</item>
</channel>
</rss>