C++ Braced Initialization

Posted by user on 05 Mar 2017

Since C++ 11 it's possible to use braces for construction and initialization. Although this is something you could ignore for the code you write, it's obviously important to know for the code you may read.

Read More

Tags: braces, cpp, initialization, Uncategorized

When noexcept?

Posted by user on 12 Dec 2016

In a previous post, we had a look at the new constexpr keyword that has been introduced in C++ 11. Today we'll study another new fancy specifier: noexcept.

Read More

Tags: cpp, noexcept, Uncategorized

C++ complexity: it's a feature

Posted by user on 22 Jan 2016

One of the constant reproaches we can hear about C++ is that it is too complex, too hard, too unsafe and has too many features, really these r-value references are useless and dangerous and why would you need variadic templates anyway, and "lol" you are still managing memory manually in 2016.

Read More

Tags: cpp, programming, rant, Uncategorized

Finding and fixing leaks in our nodejs addon

Posted by user on 02 Nov 2015

nodejs is a great platform reaching a certain degree of maturity. We generally have a lazy approach toward API support with quasardb: if no one is asking for it, don't implement it.

Read More

Tags: addon, cpp, nodejs, quasardb, Uncategorized

Include what you use

Posted by user on 17 Jan 2014

Oh what a tangled web we weave when we first try to optimize files inclusion in C++. I can hear your sarcasm other-language programmer developer, feel free to flood the comments sections with something along the lines of “We don’t have this problem in fancy-new-language, you paleo-programmer!”.

Read More

Tags: boost, clang, cpp, Uncategorized