www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.announce - C++11 - using const and mutable for thread safety [Video]

reply "Michal Minich" <michal.minich gmail.com> writes:
Newly discovered changes in C++11 on using const and mutable for 
thread safety

http://channel9.msdn.com/posts/C-and-Beyond-2012-Herb-Sutter-You-dont-know-blank-and-blank
Jan 03 2013
parent reply Dmitry Olshansky <dmitry.olsh gmail.com> writes:
03-Jan-2013 12:39, Michal Minich пишет:
 Newly discovered changes in C++11 on using const and mutable for thread
 safety

 http://channel9.msdn.com/posts/C-and-Beyond-2012-Herb-Sutter-You-dont-know-blank-and-blank
So now const is retrofitted as thread-safe. Again by convention. And that is true only because of a statement in std library expectations. This shift is great but just ... by convention. Looks like this channel got some updates on C++ and beyond 2012. I've found this one to be far more revealing: http://channel9.msdn.com/Shows/Going+Deep/C-and-Beyond-2012-Andrei-Alexandrescu-Systematic-Error-Handling-in-C -- Dmitry Olshansky
Jan 04 2013
parent reply Walter Bright <newshound2 digitalmars.com> writes:
On 1/4/2013 6:00 AM, Dmitry Olshansky wrote:
 03-Jan-2013 12:39, Michal Minich пишет:
 Newly discovered changes in C++11 on using const and mutable for thread
 safety

 http://channel9.msdn.com/posts/C-and-Beyond-2012-Herb-Sutter-You-dont-know-blank-and-blank
So now const is retrofitted as thread-safe. Again by convention. And that is true only because of a statement in std library expectations. This shift is great but just ... by convention. Looks like this channel got some updates on C++ and beyond 2012. I've found this one to be far more revealing: http://channel9.msdn.com/Shows/Going+Deep/C-and-Beyond-2012-Andrei-Alexandrescu-Systematic-Error-Handling-in-C
Channel 9 has some great videos. I wish the good ones had transcripts.
Jan 04 2013
parent "Paulo Pinto" <pjmlp progtools.org> writes:
On Friday, 4 January 2013 at 19:03:14 UTC, Walter Bright wrote:
 On 1/4/2013 6:00 AM, Dmitry Olshansky wrote:
 03-Jan-2013 12:39, Michal Minich пишет:
 Newly discovered changes in C++11 on using const and mutable 
 for thread
 safety

 http://channel9.msdn.com/posts/C-and-Beyond-2012-Herb-Sutter-You-dont-know-blank-and-blank
So now const is retrofitted as thread-safe. Again by convention. And that is true only because of a statement in std library expectations. This shift is great but just ... by convention. Looks like this channel got some updates on C++ and beyond 2012. I've found this one to be far more revealing: http://channel9.msdn.com/Shows/Going+Deep/C-and-Beyond-2012-Andrei-Alexandrescu-Systematic-Error-Handling-in-C
Channel 9 has some great videos. I wish the good ones had transcripts.
Usually they are better to watch then whatever might be showing on TV, but only on alone evenings. :)
Jan 05 2013