community

Exploring Clang Tooling Part 1: Extending Clang-Tidy--Stephen Kelly

A very useful tool.

Exploring Clang Tooling Part 1: Extending Clang-Tidy

by Stephen Kelly

From the article:

This post is part of a three-part series about using the Clang AST Matchers to mechanically refactor C++ code. In the last post, we ensured that the code is at least buildable with Clang. While that part was only interesting to those whose code was not yet building with Clang, the rest of the series appeals to a general C++ audience.

There are many other resources on the internet covering use of existing clang-tidy checks and their motivation, such as my previous employer. There is very little information online about the developer workflow and tools to use when creating custom extensions for source to source transformations with clang-tidy. This blog series aims to fill that gap.

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...

Bjarne Stroustrup Interview at CppCon 2018--Steve Carroll, Augustin Popa

Cppcon videos are coming.

Bjarne Stroustrup Interview at CppCon 2018

by Steve Carroll, Augustin Popa

From the video:

We are back with footage from CppCon 2018, which occurred in Bellevue, Washington! In this special GoingNative episode, our host Steve Carroll chats with Gabriel Dos Reis and Bjarne Stroustrup, the creator of C++, who spoke this year about Concepts, an exciting new feature coming soon to C++!

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

C++ Day 2018

A full day of C++ in Italy:

C++ Day 2018

November 24, 2018

Pavia (Italy)

 

In a nutshell

The C++ Day 2018 is a full-day event entirely dedicated to the C++ language, hosted in Pavia (Italy).

The event consists in some technical sessions (ITA and ENG) and networking.

Keynote: HPX : High performance computing in C++ with concurrency, parallelism and futures by John Biddiscombe from the Swiss National Supercomputing Centre in Lugano.

 

Who should attend the C++ Day 2018?

This event is made by C++ professionals for C++ professionals, students and enthusiasts. Whoever is interested in the C++ language and is keen on meeting the Italian C++ ecosystem is welcome!

 

What can I find in the C++ Day 2018?

The agenda consists of 1x90' keynote8x50' and 2x20' tech talks and 2.5 hours allocated for networking.

Topcis of the tech talks:

  • C++20
  • A.I.
  • Reflection
  • GIS in C++
  • Algorithms & Optimization
  • Scientific Computing
  • Python Integration
  • Metaprogramming

 

You can refer to the detailed program for more information.
 

When and Where will the C++ Day 2018 take place?

The event will be held on November 24, 2018 at University of Pavia, in Pavia (Italy).

Check-in opens at 8.30 AM, the main event begins at 9.45 AM and will last for a full day.
 

Who supports this event?

The Italian C++ Community co-organizes the event with some students of the University of Pavia.

We don't have sponsorships yet. Please get in touch if you want to support/sponsor the event!

 

Do I need to register?

The C++ Day 2018 is free, but you must register to facilitate the organization of the event.

You can register here.

Word Counting in C++: Implementing a Simple Word Counter--Jonathan Boccara

Useful to learn.

Word Counting in C++: Implementing a Simple Word Counter

by Jonathan Boccara

From the article:

Word counts can reveal information about your code, or make an unknown piece of code more expressive to your eyes.

There are online tools to count words in generic text, but most of those I’ve come across are designed around counting words in text and SEO (Search Engine Optimization). Since analysing source code is not the same thing as analysing the text of a blog post, let’s design a tool fit for our needs of counting words in code. This way, we will be able to make it evolve when we discover new tasks to try with our word counter.

Another reason to write our own word counter is that it will let us practice interface design, and also STL algorithms, which are useful to master for coding in C++.

For this first version of our word counter, the objective will be to put together a working prototype. Then we will improve it over future posts, by adding features and by refining its implementation...

JSON for Modern C++ version 3.3.0--Niels Lohmann

Are you using it?

JSON for Modern C++ version 3.3.0

by Niels Lohmann

From the article:

This release adds support for GCC 4.8. Furthermore, it adds a function get_to to write a JSON value to a passed reference. Another topic of this release was the CMake support which has been overworked and documented.

Besides, a lot of bugs have been fixed and slight improvements have been made. All changes are backward-compatible...