Articles & Books

C++ Links #7—Bartlomiej Filipek and Wojciech Razik

The next episode of the 'most useful C++ links' is now available:

C++ Links #7

by Bartlomiej Filipek and Wojciech Razik

From the article:

Welcome to new C++ Links - most important and useful articles, podcasts and videos that happen between 13th and 19th of October.

Today you will find links to all proposals that will be discussed in the upcoming Standard Committee meeting in San Diego, a video explaining why C++ is not an object-oriented programming language and many more!

Conversions, Searchers and C++17 In Detail Updates—Bartlomiej Filipek

cpp17indetail

C++17 In Detail Book Update!

Conversions, Searchers and C++17 In Detail Updates

by Bartlomiej Filipek

From the article:

I’m happy to announce that I updated the book! “C++17 In Detail” grew by 31 pages (up to 250), includes two new chapters and lots of “bug” fixes and better explanations.

See the 2 new chapters about low-level String Conversion Routines and Searchers.

C++ Annotated: June - September 2018—Anastasia Kazakova

800x320_Twitter_card.pngConferences, proposals, and learning, O my!

C++ Annotated: June - September 2018

by Anastasia Kazakova

From the article:

... a hot C++ conference season kicked off again with CppCon. Pacific++, C++ CoreHard, Meeting C++, ADC, code::dive, and the C++ Committee meeting in San Diego, California, are coming up later this year...

... Today we are starting a new section in our regular C++ Annotated. In each issue, we will cover a selection of C++ proposals and initiatives you definitely should learn about while developing in C++. This time we unveil static exceptions, constexpr new, and lifetime checks. See details below...

Milestone | New Home | Trip Reports—Jon Kalb

The conclusion of this year cppcon.

Milestone | New Home | Trip Reports

by Jon Kalb

From the article:

At the formal closing of CppCon 2018, we took a moment to consider how far we’ve come in the first five years of the conference. Those years have seen us grow in so many ways. Since our first conference, we’ve added classes, field trips, author signings, exhibitor tables and booths, Tool Time, and the SG14 co-located ISO meeting. The number of main program sessions has grown by about fifty percent to almost one hundred fifty.  The number of Open Content sessions has doubled to about two dozen. The number of conference days (including classes)  has doubled from four and a half to nine and the number of attendees has doubled from about six hundred to over twelve hundred.

Trip report - CppCon 2018—Jean Guegant

A new one!

Trip report - CppCon 2018

by Jean Guegant

From the article:

New year, new conference! This time, my employer, King, helped me to organize a first pilgrimage to CppCon for me and another colleague. You cannot fathom how enthusiastic I was to finally making it there! Although I might be a bit late on the "trip-report-race", I think that it is still worth to relate my overall experience of the event and then move onto a list of recommended talks you should watch-out on Youtube...

Overload 147 is now available

ACCU’s Overload journal of October 2018 is out. It contains the following C++ related articles.

Overload 147 is now available

From the journal:

Are we nearly there yet?
Deciding if you are making progress can be a challenge. Frances Buontempo considers various metrics and their effects. by Frances Buontempo

How to Write a Programming Language: Part 3, The Evaluator
We’ve parsed our tokens: now we need turn them into values. Andy Balaam continues writing a programming language with the evaluator. by Andy Balaam

P1063 vs Coroutines TS: Consensus on High-Level Semantics
Dmytro Ivanchykhin, Sergey Ignatchenko and Maxim Blashchuk argue that we need coroutines TS now to improve-based-on-experience later. by Dmytro Ivanchykhin, Sergey Ignatchenko and Maxim Blashchuk

Implementing the Spaceship Operator for Optional
Comparison operators can get complicated. Barry Revzin explores how the new operator <=> helps. by Barry Revzin

Compile-time Data Structures in C++17: Part 2, Map of Types
Compile time type selection allows static polymorphsim. Bronek Kozicki details an implementation of a compile time map. by Bronek Kozicki

PMR (Polymorphic Memory Resources) fully described—Nico Josuttis

PMR (polymorphic memory resources) are now fully described in:

C++17 - The Complete Guide

by Nico Josuttis

About the article:

This includes:

  • How to use standard memory resources
  • How to define own memory resources (such as a sophisticated new tracker)
  • How to provide PMR support for own types

With this, using a map or unordered_map with elements located close to each other is really easy now.

And if you have to avoid heap memory allocation, this chapter is a must.