Аудиото на този епизод може да е повредено.
How to fix it?
ОТНОСТНО ТОЗИ ЕПИЗОД
The C++11 standard introduces threads into the language, and carefully defines the meaning of variables shared between threads. The design is based on the idea that meaningful multithreaded programs should, by default, behave as though threads were executed in simple interleaved fashion. This allows efficient execution only because "data races" (simultaneous non-read-only accesses to shared variables) are disallowed. Although this basic approach is shared with some other languages, and with threads interfaces like pthreads, we tried hard to avoid their mistakes. For example, C++11 provides a comprehensive atomic operations library, which makes it much more feasible to avoid data races in real low-level code. I'll give a very quick overview of thread support in C++11, and then focus on the behavior of shared variables, often called the "memory model". I'll try to explain why, after more than 40 years of programming with shared variables, shared variables and atomic operations were still controversial, and why the C++11 approach is the right one.
Английски
САЩ
ТЪРСЕНЕ на МИНАЛИ ЕПИЗОДИ
Търсене в минали епизоди на GoingNative 2012 Sessions (HD).
ДРУГИ ЕПИЗОДИ В ТОЗИ ПОДКАСТ
This talk will cover:Which key features in C++11 will most change the way you write code: the features that directly affect C++ style, coding idioms, and the guidance in pre-C++11 books and articles that most needs to be updated. Specific guidance on each of those key featur…
Were we to craft a Lenox Globe of programming languages, C++ might be followed by a famous cautionary phrase: Here Be Dragons. The language can be complex and daunting to programmers who are often shouldered with the task of writing large, complex programs. Those millions of code monkeys ne…
All right, the C++11 Standard is done. Can we go home? Definitely not - progress waits for no one. For all its might, C++11 is not addressing a few basic needs in template programming. For example, you'd hate to have to define a new function or indeed a whole new class wherever you …
To end the event, why not have all the speakers on stage to answer any questions you may have, ones that formed as your mind was bent over the last 48 hours. Here are some C++ titans in front of you - what are you going to ask them? What do you want to know? Ask the GoingNative 2012 speaker…
C++ does not provide facilities for directly expressing what a function template requires of its set of parameters. This is a problem that manifests itself as poor error messages, obscure bugs, lack of proper overloading, poor specification of interfaces, and maintenance problems. Many have…
РЕДАКТИРАНЕ
Благодарим Ви, че помогате да поддържаме базата данни за подкастове актуална.