Implementing a web game in C++14 - Kris Jusiak - Meeting C++ 2016
Next Video from Meeting C++ 2016
Implementing a web game in C++14
by Kris Jusiak
By Meeting C++ | Jan 27, 2017 05:04 AM | Tags: intermediate gamedev emscripten di dependency injection clang c++14 advanced
Next Video from Meeting C++ 2016
Implementing a web game in C++14
by Kris Jusiak
By Meeting C++ | Jan 26, 2017 07:42 AM | Tags: sycl performance parallelism hpc efficiency
Next Video from Meeting C++ 2016:
SYCL building blocks for C++ libraries
by Gordon Brown
By Adrien Hamelin | Jan 25, 2017 12:04 PM | Tags: c++11 advanced
Do you use those?
Modern C++ Features – decltype and std::declval
by Arne Mertz
From the article:
decltype
andstd::declval
are two features that go hand in hand and are most useful in template metaprogramming and in conjunction with the use of type deduction viaauto
, e.g. in generic lambdas...
By Meeting C++ | Jan 25, 2017 09:47 AM | Tags: reflection c++14 basics advanced
Next Video from Meeting C++ 2016
Writing a reflection engine from scratch
by Manuel Sanchez
By Meeting C++ | Jan 24, 2017 06:03 AM | Tags: tmp testing experimental advanced
Next Video from Meeting C++ 2016
How to test static_assert?
by Roland Bock
By Blog Staff | Jan 23, 2017 04:08 PM | Tags: None
This new paper by Bjarne Stroustrup has been brewing over the holidays, and is now ready for release as a prepublication draft:
Concepts: The Future of Generic Programming
or, How to design good concepts and use them wellby Bjarne Stroustrup
From the draft paper:
Conclusions
Concepts complete C++ templates as originally envisioned. I don’t see them as an extension but as a completion.
Concepts are quite simple to use and define. They are surprisingly helpful in improving the quality of generic code, but their principles – and not just their language-technical details – need to be understood for effective use. In that, concepts are similar to other fundamental constructs, such as functions. Compared to unconstrained templates, there are no run-time overheads incurred by using concepts.
Concepts are carefully designed to fit into C++ and to follow C++’s design principles:
- Provide good interfaces
- Look for semantic coherence
- Don’t force the user to do what a machine does better
- Keep simple things simple
- Zero-overhead
Don’t confuse familiarity and simplicity. Don’t confuse verbosity with “easy to understand.” Try concepts! They will dramatically improve your generic programming and make the current workarounds (e.g., traits classes) and low-level techniques (e.g., enable_if – based overloading) feel like error-prone and tedious assembly programming.
By Blog Staff | Jan 23, 2017 03:58 PM | Tags: None
A new embedded C++ conference will be held next month in Germany:
emBO++: Embedded C++ Conference
Bochum, Germany
From the announcement:
Worldwide there are more than one billion devices that could be thought of as embedded systems. All of them have been programmed at least once in their lives. While most systems still run plain old C-Code, a new generation of compilers, devices and language features encourage us to use more modern C++ in the world of embedded systems.
Modern C++ allows us to express ourselves better to the compiler and the hardware than ever before. It is our task, our responsibility and our passion to create better IT infrastructure. Out of this passion the emBO++ has been instantiated. A convention for developers, technologists and C++-enthusiasts. Come and join us, and let us influence more than a billion devices!
By Adrien Hamelin | Jan 23, 2017 02:21 PM | Tags: performance intermediate
const
does not prevent (N)RVO, youhou.
Const, Move and RVO
by Bartlomiej Filipek
From the article:
C++ is a surprising language. Sometimes simple things are not that simple in practice. Last time I argued that in function bodies const should be used most of the time. But two cases were missed: when moving and when returning a value.
Does const influence move and RVO?
By Adrien Hamelin | Jan 23, 2017 02:13 PM | Tags: intermediate c++11
C++ is evolving.
Functional in C++11 and C++14: Dispatch Table and Generic Lambdas
by Rainer Grimm
From the article:
My favourite example the dispatch table shows how nice the features in modern C++ work together. A dispatch table is a table of pointers to functions. In my case, it is a table of handles to polymorphic function wrappers...
By Adrien Hamelin | Jan 23, 2017 02:07 PM | Tags: experimental
An extensive list of the future standard changes:
C++17 Features
by Bartlomiej Filipek
From the article:
In my last C++ summary (for 2016) I wrote that the draft for C++17 is the most important thing that happened. I’ve put a list of features of the new standard, and today I’d like to expand the topic so we can learn some more details.