EDN Admin
Well-known member
http://channel9.msdn.com/Shows/Going+Deep/Conversation-with-Herb-Sutter-Perspectives-on-Modern-C0x11" target="_blank Herbs last appearance on C9 was a relatively short chat with me about C++0x. You wanted more questions asked and some of you thought I was just too soft on Herb. Well, Herb decided that the best way to get the questions you want asked is, well, to http://herbsutter.com/2011/05/17/c9-questions/" target="_blank have you ask them . Most of the highest user-rated questions were asked and Herb answers with his usual precision. So, without further ado, its C++ question and answer time with the great Herb Sutter, powered by you.
Questions (click the question link for Herbs answer): http://channel9.msdn.com/Shows/Going+Deep/Herb-Sutter-C-Questions-and-Answers#time=0h1m33s Tim Pinkawa: Which non-C++ language do you find to be the most inspiring today? Are there any features in that language that youd like to see in future C++ incarnations? http://channel9.msdn.com/Shows/Going+Deep/Herb-Sutter-C-Questions-and-Answers#time=0h5m16s Matthias Merkers: So do you think that lacking toolsupport for C++ will be a major problem since there are new better-prepared system-programming languages available? http://channel9.msdn.com/Shows/Going+Deep/Herb-Sutter-C-Questions-and-Answers#time=0h9m7s ZenJu: What is the strategy to deal with C++ language and standard library design flaws in the long run? Are you afraid "bad design decisions" may accumulate over time, thereby making it more and more harder for newbies to learn the language? Herb also briefly discusses http://channel9.msdn.com/Shows/Going+Deep/Herb-Sutter-C-Questions-and-Answers#time=0h12m58s noexcept... (two for one!)
http://channel9.msdn.com/Shows/Going+Deep/Herb-Sutter-C-Questions-and-Answers#time=0h15m17s Cory: Concepts — why did they fail and what work is being done to bring something like them back? http://channel9.msdn.com/Shows/Going+Deep/Herb-Sutter-C-Questions-and-Answers#time=0h20m40s Cory/jalf: Polymorphic lambdas - why did they fail and what work is being done to bring something like them back? http://channel9.msdn.com/Shows/Going+Deep/Herb-Sutter-C-Questions-and-Answers#time=0h24m37s Ben craig: There seemed to be some controversy over noexcept on destructors. Your books describe your reasoning on why destructors should never throw. What does the opposition consider to be a valid use of throwing destructors? http://channel9.msdn.com/Shows/Going+Deep/Herb-Sutter-C-Questions-and-Answers#time=0h28m45s Anteru: Modules - Are they really coming, and if so, when do you expect the first implementation? http://channel9.msdn.com/Shows/Going+Deep/Herb-Sutter-C-Questions-and-Answers#time=0h31m15s os: Could you discuss briefly the module support that didnt make it into C++0x please? How can this work with templated code that has a lot of functionality in headers? http://channel9.msdn.com/Shows/Going+Deep/Herb-Sutter-C-Questions-and-Answers#time=0h32m14s David: why the long time in C++ standardization work? Will the next standard take as long? http://channel9.msdn.com/Shows/Going+Deep/Herb-Sutter-C-Questions-and-Answers#time=0h39m5s Atle Iversen: Im not sure how much youre allowed to tell us, but I would *love* to hear some details about MS Windows and/or MS Office; how much C vs. C++, which parts of C++ do they use etc (Google has released an "official" C++ coding standard, but I would love to see something similar from the MS Windows and MS Office teams...) http://channel9.msdn.com/Shows/Going+Deep/Herb-Sutter-C-Questions-and-Answers#time=0h42m30s Cory: Filesystem — something like boost::filesystem is desperately needed. http://channel9.msdn.com/Shows/Going+Deep/Herb-Sutter-C-Questions-and-Answers#time=0h45m40s Cory: Threading — thread pools, fine-grained task model, thead-safe containers. http://channel9.msdn.com/Shows/Going+Deep/Herb-Sutter-C-Questions-and-Answers#time=0h48m27s Charles: Why not add an async/await language-level pattern to C++ just like in C# vNext? http://channel9.msdn.com/Shows/Going+Deep/Herb-Sutter-C-Questions-and-Answers#time=0h49m41s Ari: Can you please comment on the influence of the boost community on the development of the new features of the c++ language. It seems that a lot of new C++0x features/additions have been adopted due to the wide use/acceptance of the feature/s as part of the boost library. http://channel9.msdn.com/Shows/Going+Deep/Herb-Sutter-C-Questions-and-Answers#time=0h53m57s Alfonse: Uniform initialization (the use of {} to call constructors when the type being constructed can be deduced) has the potential to radically reduce the quantity of typing necessary to create C++ types. Its the kind of thing, like lambdas, that will change how people write C++ code. What is the Visual Studio teams priority for implementing this feature, along with initializer lists? http://channel9.msdn.com/Shows/Going+Deep/Herb-Sutter-C-Questions-and-Answers#time=0h55m57s petke: What is on the top of your post C++0x wishlist?
Thanks for all your great questions and thanks to Herb for taking time out of his insanely busy schedule to sit down and answer as many of the highly user-rated questions as possible. Great stuff! We should do this again. For all the folks who asked about specific VC vNext implementations, please try to make it to http://buildwindows.com" target="_blank BUILD as there will be a significant C++ presence at the developer affair in Anaheim (Sept 13-16, 2011). If you cant attend the event in person, then you will be able to watch all of the session online, as usual, http://channel9.msdn.com/Events" target="_blank after the event right here on Channel 9 .
<img src="http://m.webtrends.com/dcs1wotjh10000w0irc493s0e_6x1g/njs.gif?dcssip=channel9.msdn.com&dcsuri=http://channel9.msdn.com/Feeds/RSS&WT.dl=0&WT.entryid=Entry:RSSView:4733b17ee4534b92806b9ef6018a7e0f
View the full article
Questions (click the question link for Herbs answer): http://channel9.msdn.com/Shows/Going+Deep/Herb-Sutter-C-Questions-and-Answers#time=0h1m33s Tim Pinkawa: Which non-C++ language do you find to be the most inspiring today? Are there any features in that language that youd like to see in future C++ incarnations? http://channel9.msdn.com/Shows/Going+Deep/Herb-Sutter-C-Questions-and-Answers#time=0h5m16s Matthias Merkers: So do you think that lacking toolsupport for C++ will be a major problem since there are new better-prepared system-programming languages available? http://channel9.msdn.com/Shows/Going+Deep/Herb-Sutter-C-Questions-and-Answers#time=0h9m7s ZenJu: What is the strategy to deal with C++ language and standard library design flaws in the long run? Are you afraid "bad design decisions" may accumulate over time, thereby making it more and more harder for newbies to learn the language? Herb also briefly discusses http://channel9.msdn.com/Shows/Going+Deep/Herb-Sutter-C-Questions-and-Answers#time=0h12m58s noexcept... (two for one!)
http://channel9.msdn.com/Shows/Going+Deep/Herb-Sutter-C-Questions-and-Answers#time=0h15m17s Cory: Concepts — why did they fail and what work is being done to bring something like them back? http://channel9.msdn.com/Shows/Going+Deep/Herb-Sutter-C-Questions-and-Answers#time=0h20m40s Cory/jalf: Polymorphic lambdas - why did they fail and what work is being done to bring something like them back? http://channel9.msdn.com/Shows/Going+Deep/Herb-Sutter-C-Questions-and-Answers#time=0h24m37s Ben craig: There seemed to be some controversy over noexcept on destructors. Your books describe your reasoning on why destructors should never throw. What does the opposition consider to be a valid use of throwing destructors? http://channel9.msdn.com/Shows/Going+Deep/Herb-Sutter-C-Questions-and-Answers#time=0h28m45s Anteru: Modules - Are they really coming, and if so, when do you expect the first implementation? http://channel9.msdn.com/Shows/Going+Deep/Herb-Sutter-C-Questions-and-Answers#time=0h31m15s os: Could you discuss briefly the module support that didnt make it into C++0x please? How can this work with templated code that has a lot of functionality in headers? http://channel9.msdn.com/Shows/Going+Deep/Herb-Sutter-C-Questions-and-Answers#time=0h32m14s David: why the long time in C++ standardization work? Will the next standard take as long? http://channel9.msdn.com/Shows/Going+Deep/Herb-Sutter-C-Questions-and-Answers#time=0h39m5s Atle Iversen: Im not sure how much youre allowed to tell us, but I would *love* to hear some details about MS Windows and/or MS Office; how much C vs. C++, which parts of C++ do they use etc (Google has released an "official" C++ coding standard, but I would love to see something similar from the MS Windows and MS Office teams...) http://channel9.msdn.com/Shows/Going+Deep/Herb-Sutter-C-Questions-and-Answers#time=0h42m30s Cory: Filesystem — something like boost::filesystem is desperately needed. http://channel9.msdn.com/Shows/Going+Deep/Herb-Sutter-C-Questions-and-Answers#time=0h45m40s Cory: Threading — thread pools, fine-grained task model, thead-safe containers. http://channel9.msdn.com/Shows/Going+Deep/Herb-Sutter-C-Questions-and-Answers#time=0h48m27s Charles: Why not add an async/await language-level pattern to C++ just like in C# vNext? http://channel9.msdn.com/Shows/Going+Deep/Herb-Sutter-C-Questions-and-Answers#time=0h49m41s Ari: Can you please comment on the influence of the boost community on the development of the new features of the c++ language. It seems that a lot of new C++0x features/additions have been adopted due to the wide use/acceptance of the feature/s as part of the boost library. http://channel9.msdn.com/Shows/Going+Deep/Herb-Sutter-C-Questions-and-Answers#time=0h53m57s Alfonse: Uniform initialization (the use of {} to call constructors when the type being constructed can be deduced) has the potential to radically reduce the quantity of typing necessary to create C++ types. Its the kind of thing, like lambdas, that will change how people write C++ code. What is the Visual Studio teams priority for implementing this feature, along with initializer lists? http://channel9.msdn.com/Shows/Going+Deep/Herb-Sutter-C-Questions-and-Answers#time=0h55m57s petke: What is on the top of your post C++0x wishlist?
Thanks for all your great questions and thanks to Herb for taking time out of his insanely busy schedule to sit down and answer as many of the highly user-rated questions as possible. Great stuff! We should do this again. For all the folks who asked about specific VC vNext implementations, please try to make it to http://buildwindows.com" target="_blank BUILD as there will be a significant C++ presence at the developer affair in Anaheim (Sept 13-16, 2011). If you cant attend the event in person, then you will be able to watch all of the session online, as usual, http://channel9.msdn.com/Events" target="_blank after the event right here on Channel 9 .
<img src="http://m.webtrends.com/dcs1wotjh10000w0irc493s0e_6x1g/njs.gif?dcssip=channel9.msdn.com&dcsuri=http://channel9.msdn.com/Feeds/RSS&WT.dl=0&WT.entryid=Entry:RSSView:4733b17ee4534b92806b9ef6018a7e0f
View the full article