A unique_ptr pool

published at 22.06.2017 18:25

A few weeks ago I wrote about a self-contained unique_ptr pool, which today I refactored into a more reuseable template. Reason is, that the pool class it self now needs to maintain two different kind of objects into their pools,  hence the actual pool code is best now factored out into a template.

A self-contained Pool in C++14

published at 22.05.2017 17:20

During C++Now I started writing a small application, that plays around with dlibs face recognition features. More on this later, the program uses the QThreadPool, and some researched showed that calling dlib::get_frontal_face_detector() is a very expensive operation. So I decided to write a thread safe pool to share the face detection object between threads, only loading as many as needed. The main thread owns the pool which owns the detection objects.

A short story on a tiny error

published at 13.04.2017 18:17

Well, lets make this clear, this isn't an article about best practices. Its about the little errors that happen in everyday life, and how they can go on undetected for quite a while. It started with a hint on reddit from Vittorio Romeo on last weeks C++ Blogroll, that the links for the videos didn't work.

Reflections on the reflection proposals

published at 02.03.2017 11:29

A few weeks ago I wrote a short overview over the most interesting papers for the current C++ Committee meeting in Kona, Hawaii. The big surprise was that there were many papers on reflection, while there already is a very detailed proposal for reflection.

HTML Text Editor - final solution

published at 23.02.2017 23:51

In the last post about my HTML Text Editor, I mentioned that while the editor worked like it should, other things didn't. I was able to fix at least some of the driver related issues, but kept seeing random crashes. So I decided to try out a different solution, instead of going on a long and tiring debugging trip.

C++ Proposals please...

published at 16.02.2017 11:10

A quick overview over the newest mailing of proposals for the upcoming C++ Committee Meeting in Kona, Hawaii. With C++17 being "done" but not yet an official standard, its a good time to start new proposals aiming for C++20 and beyond. After all, a new proposal which might needs to go through a TS might not make it to the C++20 timeframe...

Refactoring the HTML Text Editor for QWebEngine

published at 13.02.2017 16:45

Using QtCreator together with the Visual Studio Build Tools

published at 09.02.2017 16:22

For a while I've been using QtCreator as my IDE, mostly because its deep integration with Qt, as most of my projects are Qt related. With this, I also preferred (and still do a little) to use the MinGW builds of Qt on Windows. In the past, as GCC was a little bit better with the newer standards, today, well, never change a running system...

C++ in 2017

published at 26.01.2017 16:25

The year is a few weeks old, so a quick installment on whats in it for C++ in this annual rotation around the sun...

Collaborative Online C++ Compiler?

published at 05.11.2016 16:05

Randomizing a CSV File with Standard C++

published at 01.11.2016 20:29

For this years student program I had to come up with a way to randomly select n students from all applicants. I wanted to do this in a clean and nice C++ program. So here it is:

Presenting Code

published at 27.10.2016 16:42

At CppCon 2015 I decided to give a small lightning talk on how to present code in the coming year. This was a reflection on visiting many C++ related conferences and seeing many talks live and online:

What does "Modern C++" really mean?

published at 13.10.2016 16:03

I submitted a talk to CppCon with Modern C++ in the title: CppCon 2016 - Jens Weller “Writing applications in modern C++ and Qt". It seemed a good title, and I think it still is. Yet it made me interested in the term "modern C++", as its used so often. And I have heard so many things what it is, and what it isn't.

Subtle bugs through leaking

published at 06.10.2016 14:34

boost 1.62 - a short overview

published at 29.09.2016 16:06

Yesterday a new version of boost has been released: boost 1.62. Lets have a short look on changes & new things.

An interview with Sean Parent

published at 06.07.2016 16:04

Final features of C++17

published at 30.06.2016 14:32

boost 1.61 - a short overview

published at 17.05.2016 21:27

Last week during C++Now, boost 1.61 was released. This is the first release in 2016, and with 4 new libraries a really important one.

The C++ Hightlights and more of GCC 6.1

published at 28.04.2016 21:58

In this week GCC 6.1 was released, a new major version of GCC. This new version brings again many new features for C++ to the GNU Compiler Collection. A short overview on these.

C++ Committee to shift focus on important issues

published at 01.04.2016 03:22