published at 06.08.2015 12:15
published at 04.08.2015 15:27
This is the third part of my series on writing applications with C++ using Qt and boost. This time I focus on building factories, using boost::factory, with the ultimate goal to have widget factory producing QWidgets. The last part was about building trees and treemodels for QTreeView.
published at 30.07.2015 17:27
published at 28.07.2015 21:58
published at 25.07.2015 12:35
published at 12.07.2015 23:31
After I finished my talk at NDC Oslo about encryption in C++, the last question I was asked by an attendee was about having std::vector in public interfaces as an argument, and if that would be considered bad practice. So, is it good or bad to use std::vector in a public interface?
published at 10.07.2015 17:12
published at 06.07.2015 18:32
Things have changed a little bit since I first visited C++Now in 2012. Today I do quite a lot of traveling for C++ and Meeting C++. I've been to Aspen in May to visit C++Now for the 4th time, and just returned from NDC Oslo. Still ahead in the second half of the year are 4 trips to Berlin, and flying to CppCon later this year.
published at 11.06.2015 21:10
In 2013 and 2014 I interviewed Michael Wong at C++Now. This was a follow up on his keynote at Meeting C++ in 2012, and it was interesting to learn from Michael about the C++ Committee, Transactional Memory, Parallelism and his views on C++. So, with this years C++Now coming up, I thought about recording again an interview there, as I now also have far better camera and video editing options...
published at 23.04.2015 20:56
Just recently, GCC 5.0 has been released as GCC5.1, the not only the newest version of GCC, but also bumping up the version number from 4 to 5. This release is a major milestone for GCC, but also for C++, as it brings full C++14 support, but yet not C++11(std=c++11) as the new default. So the C++ world has now two fully C++14 compatible compilers: Clang and GCC.
published at 17.04.2015 16:54
published at 14.03.2015 23:23
For two days I had the chance to clean up my code and do a little refactoring. One of the results is, that my database code now also uses variadic templates. For some time now, I use Qt as the UI and Database frontend of my applications which I'm working on.
published at 21.02.2015 23:25
I did a bit of fun coding. I'm currently thinking on how to generate random bytes. The mersenne twister RNG is known to give very good randomness, so it would be a possible an easy source. But first, I wanted to know, how random is the mersenne twister really? So, when counting the bits in the result of a few thousand calls to a rng, the distribution should be even. So, today I wrote code that counts bits, and tested it on the mersenne twister.
published at 18.02.2015 15:41
So, this is the second part about the papers for the Library Working Group Meeting in Cologne next week. The last part already covered some interesting papers, and gives an impression on what will be included into the Standard Library for C++17. This posting contains proposals from the last mailing in 2014 and the first in 2015.
published at 13.02.2015 16:12
published at 12.02.2015 17:06
published at 05.02.2015 21:18
So, one of the new things in C++14 is, that the committee has actually started to deprecate (and later remove) a few things from the standard. One of them is a rather awkward function: random_shuffle.
published at 15.01.2015 15:05
The year is still young, so lets have an outlook about what is going to happen in C++ Land in 2015...
published at 19.12.2014 19:23
Do you remember? 2 weeks ago, the first day of this years conference came to an end, and I was happy to know that things went so well. Actually I was getting a little nervous, things seemed to be a bit too perfect...
published at 26.11.2014 12:22
When it comes to encryption, there a few options you have in C++, a few years ago I implemented an RSA encryption based on the OpenSSL APIs, which was not too pleasant, but worked. For my current project, I was looking for something else, as I can add any dependency to my project. So this blog post is a short example of how to use AES with crypto++.