The draft session titles and descriptions have now been posted for Bjarne Stroustrup's and Herb Sutter's two-day seminar on C++:
March 31 - April 1, 2014
McEnery Convention Center
San Jose, CA, USA
We invite you to spend two insightful and informative days with C++ luminaries Bjarne Stroustrup, the creator of C++, and Herb Sutter, the chair of the ISO C++ committee, as they address the most important issues for C++ developers in 2014.
The two days are designed to cover a balanced curriculum:
- Useful pragmatic information for C++ developers, with helpful tips and techniques whether you’ve only used C++ for a few months or are a top C++ guru. Everyone should come away with something that elicits "I didn’t know that, I can use that tomorrow!" and "I have to think about that; it just might change my work dramatically."
- Balanced coverage of both the core language with its powerful new features, and the expanding standard library.
- Modern techniques and best practices you can use with current compilers, together with forward-looking information about new features coming and expected to be broadly available in the next year.
- Panels where both speakers share their insights and perspectives and answer your questions.
- And much more, with the deep context and expertise that only these instructors can uniquely bring.
As Standard C++ continues to evolve and accelerate, this is a rare opportunity to spend time with these two world leaders of all things C++.
Below is a partial list of topics the speakers will cover.
The Essence of C++ (Bjarne Stroustrup)
C++11 is being deployed and the shape of C++14 is becoming clear. This talk examines the foundations of C++. What is essential? What sets C++ apart from other languages? How do new and old features support (or distract from) design and programming relying on this essence?
This talk focuses on the abstraction mechanisms (as opposed to the mapping to the machine): Classes and templates. Fundamentally, if you understand
vector, you understand C++.
Type safety and resource safety are key design aims for a program. These aims must be met without limiting the range of applications and without imposing significant run-time or space overheads. This talk addresses issues of resource management (garbage collection is not an ideal answer and pointers should not be used as resource handles), generic programming (we must make it simpler and safer), compile-time computation (how and when?), and type safety (casts belongs in the lowest-level hardware interface). It will touch upon move semantics, exceptions, concepts, type aliases, and more. The aim is not so much to present novel features and technique, but to explore how C++’s feature set supports a new and more effective design and programming style.
C++11/14 Style (Herb Sutter)
This session will cover modern and current C++ style, focusing on C++14. It will demonstrate how major features and idioms from C++98 are now entirely replaced or subsumed and should be used no more; how other major features and idioms have been dramatically improved to the point where you code is cleaner and safer and you’ll even think in a different style; and how pervasive styles as common as variable declarations are changed forever, and not just for style but for serious technical safety and efficiency benefits. For one thing, you’ll never look at
autothe same way again -- and if hearing that makes you worry, worry not, just attend the session to dig deep into the good reasons for the new reality.
Why C++14? Two reasons: First, it really does "complete C++11" with small but important consistency features like generic lambdas and make_unique that let us teach modern C++ style with fewer "except for" footnotes. Second, C++14 "is" C++ for the next several years and it’s real; it is feature-complete and in the final stages of standardization, and more importantly we are already seeing near-complete conforming implementations becoming widely available around the same time C++14 is expected to be formally published.
C++14 is a small but important improvement on C++11 that really does complete the language. What this means is that we’re going to have a complete and simpler set of idioms and styles to learn and use.
Generic Programming and Concepts (Bjarne Stroustrup)
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 tried to remedy this (in many languages) by adding sets of requirements, commonly known as "concepts." Many of these efforts, notably the C++0x concept design, have run into trouble by focusing on the design of language features.
This talk presents the results of an effort to first focus on the design of concepts and their use; Only secondarily, we look at the design of language features to support the resulting concepts. We describe the problem, our approach to a solution, give examples of concepts for the STL algorithms and containers, and finally show an initial design of language features. We also show how we use a library implementation to test our design.
So far, this effort has involved more than a dozen people, including the father of the STL, Alex Stepanov, but we still consider it research in progress rather than a final design. This design has far fewer concepts than the C++0x design and far simpler language support. The design is mathematically well founded and contains extensive semantic specifications (axioms). It is currently available as a GCC Branch and expected to be part of C++14.
A Standardization Overview (Herb Sutter)
The ISO C++ committee has transitioned to a “decoupled” model where updated versions of the standard are published more frequently, while at the same time major pieces of work can progress and be published independently from the Standard itself and delivered asynchronously in the form of Technical Specifications (TS’s) that are separate from the main Standard and can later be incorporated into the Standard.
In this session, we’ll give a summary of the new features coming in C++14 itself, and then a tour of the seven (7) near-term separate Technical Specifications already underway -- think of these as the "C++14 wave" of deliverables. The topics covered will be:
- C++14: What’s new in the new standard due this year
- File System TS: Portable file system access
- Library Fundamentals TS (small):
- Networking TS (small): IP addresses, URIs, byte ordering
- Concepts Lite TS: Templates + constraints = ++usability and ++diagnostics
- Array Extensions TS: Language and library dynamic arrays
- Concurrency TS: Nonblocking futures (
.when_*), executors, and (maybe)
- Parallelism TS: A whole new Parallel STL with both parallel and vector execution support
This session will give an overview of each set of features, what it looks like and how to use it, and why it's important for the standard and for your own portable C++ code.
Making Simple Things Simple (Bjarne Stroustrup)
One aim of C++11 (and C++14) was to make simple things simple (without obstructing advanced solutions to the problems faced by experts). This talk examines the role of simple language facilities (such as auto, initializer lists, container algorithms, and range-for) in the overall picture of making C++ easier to use without compromizing generality and perfromance.
Three Cool Things in C++ Concurrency (Herb Sutter)
This session will show three cool and practical concurrency techniques drawn from Herb’s "Effective Concurrency" writing and presented in modern C++. Will there be a lock-free data structure? a technique to eliminate naked threads? a lock ordering discipline? something else? Come see.
A Design Exercise (Bjarne Stroustrup)
A language feature in isolation is boring and useless. This talk explores a set of ideals for a sample library (a simple
Matrixwith associated operations) and explores the implications in terms of design choices, language features used, and techniques needed.
Panels and Q&A
Each day will set aside liberal time for panel and Q&A discussion with these world-class instructors not available at any other event.
Don’t miss Stroustrup and Sutter on C++ at EE Live! in spring 2014.