{"id":1389,"date":"2015-01-17T07:37:35","date_gmt":"2015-01-16T21:37:35","guid":{"rendered":"http:\/\/brnz.org\/hbr\/?p=1389"},"modified":"2015-01-19T09:47:16","modified_gmt":"2015-01-18T23:47:16","slug":"the-growth-of-c11-support","status":"publish","type":"post","link":"https:\/\/brnz.org\/hbr\/?p=1389","title":{"rendered":"The Growth of C++11 Support"},"content":{"rendered":"<p><strong>Update:<\/strong> <em>This chart has been updated and I&#8217;ve added charts for C++11 Concurrency, C++14, and C++17 <a title=\"The Growth of Modern C++ Support\" href=\"https:\/\/brnz.org\/hbr\/?p=1404\">here<\/a>.<\/em><br \/>\n&nbsp;<\/p>\n<p><a href=\"https:\/\/brnz.org\/hbr\/wp-content\/uploads\/2015\/01\/C++11Growth.html\" target=\"_blank\"><img loading=\"lazy\" class=\"aligncenter\" src=\"https:\/\/brnz.org\/hbr\/wp-content\/uploads\/2015\/01\/C++11Growth.png\" alt=\"\" width=\"1150\" height=\"400\" \/><\/a><\/p>\n<p>A few days ago, Christophe Riccio <a href=\"https:\/\/twitter.com\/g_truc\/status\/554067294876622848\">tweeted a link<\/a> to <a href=\"http:\/\/www.g-truc.net\/doc\/C++%20Compiler%20Status%202015-01.pdf\">a pdf<\/a> that shows the level of support for &#8220;Modern C++&#8221; standards in four C++ compilers: Visual C++, GCC, Clang, and ICC.<\/p>\n<p>One of the things I wanted to see was not just how support had advanced between versions of each compiler, but how compilers had changed relative to one another over time. I extracted the numbers for C++11 from Christophe&#8217;s document, found the release dates for each compiler, and created a chart that puts it all together.<\/p>\n<p>It&#8217;s interesting to see how far behind Clang starts in comparison to the others, and that it ends up in a close dance with GCC on the way to full C++11 support. It also highlights how disappointing VC++ has been in terms of language feature advancement &#8212; particularly when VS2010 was ahead of Clang and ICC for C++11 features.<\/p>\n<p>Creating the chart also served as an opportunity to play around with data visualization using\u00a0<a href=\"http:\/\/bokeh.pydata.org\">Bokeh<\/a>. As such, you can click on the chart above and you&#8217;ll see a version that you can zoom, pan, and resize (which is only a small part of what Bokeh offers). I intend to write about my experiences with\u00a0Bokeh at a later date.<\/p>\n<p>&nbsp;<\/p>\n<p>Release dates for each compiler were taken from the following pages:<\/p>\n<ul>\n<li>Visual Studio: <a href=\"http:\/\/en.wikipedia.org\/wiki\/Microsoft_Visual_Studio\">http:\/\/en.wikipedia.org\/wiki\/Microsoft_Visual_Studio<\/a><\/li>\n<li>GCC: <a href=\"https:\/\/gcc.gnu.org\/releases.html\">https:\/\/gcc.gnu.org\/releases.html<\/a><\/li>\n<li>Clang: <a href=\"http:\/\/llvm.org\/releases\/\">http:\/\/llvm.org\/releases\/<\/a><\/li>\n<li>ICC: <a href=\"http:\/\/en.wikipedia.org\/wiki\/Intel_C%2B%2B_Compiler\">http:\/\/en.wikipedia.org\/wiki\/Intel_C++_Compiler<\/a><\/li>\n<\/ul>\n<p>The date used to mark the approval of the C++11 standard is taken from\u00a0<a href=\"http:\/\/en.wikipedia.org\/wiki\/C%2B%2B11\">http:\/\/en.wikipedia.org\/wiki\/C++11<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Update: This chart has been updated and I&#8217;ve added charts for C++11 Concurrency, C++14, and C++17 here. &nbsp; A few days ago, Christophe Riccio tweeted a link to a pdf that shows the level of support for &#8220;Modern C++&#8221; standards in four C++ compilers: Visual C++, GCC, Clang, and ICC. One of the things I &hellip; <a href=\"https:\/\/brnz.org\/hbr\/?p=1389\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;The Growth of C++11 Support&#8221;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[5,26],"tags":[],"_links":{"self":[{"href":"https:\/\/brnz.org\/hbr\/index.php?rest_route=\/wp\/v2\/posts\/1389"}],"collection":[{"href":"https:\/\/brnz.org\/hbr\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/brnz.org\/hbr\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/brnz.org\/hbr\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/brnz.org\/hbr\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1389"}],"version-history":[{"count":15,"href":"https:\/\/brnz.org\/hbr\/index.php?rest_route=\/wp\/v2\/posts\/1389\/revisions"}],"predecessor-version":[{"id":1409,"href":"https:\/\/brnz.org\/hbr\/index.php?rest_route=\/wp\/v2\/posts\/1389\/revisions\/1409"}],"wp:attachment":[{"href":"https:\/\/brnz.org\/hbr\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1389"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/brnz.org\/hbr\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1389"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/brnz.org\/hbr\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1389"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}