I’ve recently released a script on my GitHub page that simplifies C++ compiler error messages: camomilla.

What does it do?

camomilla uses simple text transformations to make gcc and clang errors smaller and easier to read. During the development of ecst, a compile-time Entity-Component-System C++14 library developed for my BCS thesis, I encountered a lot of huge undeciphrable errors that sometimes completely filled my terminal buffer. Here’s an example:

... read more


CppCon 2016 ended yesterday - I had the pleasure of attending and presenting at this amazing conference again this year.

I’m really grateful to Jon Kalb, Bryce Lelbach, the conference staff, the speakers, my company and everyone else involved for making this possible.

In the same vein as my C++Now 2016 trip report, I wanted to share my thoughts regarding the talks I liked the most and regarding my sessions.

... read more


An interesting header-only logging library, spdlog, was recently posted on Reddit. A comment by Sean Middleditch sparked an interesting discussion on the thread:

“Header only” is an anti-feature. Fast compiles are important. PCHes only fix a fraction of the problems of header bloat. Avoiding 15 minutes of setup to get a library building/precompiled in exchange for months of lost productivity waiting for slow builds is a pretty bad trade off.

Here are some of the replies:

... read more


I’ve spent the last week rewriting the static website generator for vittorioromeo.com from scratch.

Why?

The previous one had several limitations that couldn’t be easily fixed due to poor design:

... read more



trip report - C++Now 2016

16 may 2016

I’m back from C++Now 2016, where I participated as a speaker and as a student/volunteer.

I’ve written a brief trip report. I had a fantastic time at the conference and wanted to talk about my experience.

The report is mostly focused on my favorite code snippets/techniques shown during the talks and on my sessions (and the feedback I’ve received on them).


meeting c++ lightning talks

12 december 2015

My Meeting C++ 2015 talks are now available on YouTube!

First lightning talk video:
‘static_if’ in C++14

Second lightning talk video:
“Meaningful” casts

All the code is available here, on GitHub.

Enjoy!


new tutorial, meeting c++

06 december 2015

I’ve uploaded a new Dive into C++14 episode on YouTube:

  • “Dive into C++14 - [3] - Generic”unique resource" wrapper"
    Watch on YouTube

The third tutorial in the “Dive into C++14” series covers the implementation of a generic “unique resource” class, with the same ownership semantics as std::unique_ptr. The tutorial shows the implementation of the resource class and the abstraction of the behavior of several resource types (heap-allocated pointers, OpenGL VBOs, int-based-handle APIs). It also shows a simple implementation of “scope guards” as unique resources, to show how abstracting “uniqueness semantics” can be useful even in unexpected situations.

I’m currently in Berlin’s Tegel airport, flying back home after a fantastic experience at Meeting C++ 2015. I had a great time at the conference, and also gave two lightning talks.

You can already find the code for them on Github - when the videos will be uploaded I will update the repository readme.


RSS Feed