Category: C++

Selectively composing classes with constexpr functions, SFINAE, and parameter-pack driven private-inheritance in C++17 (Part 1)

This blog post was inspired by a use-case I encountered in an open source project where the developers wanted to offer different functionality depending on whether the product being offered was an enterprise offering versus a community offering. Under normal circumstances, preprocessor defines were used to separate functionality. However, when certain combinations of behavior were…

By Pavan Tumati January 4, 2020 0

Informal Latency Benchmark for Redis GET/SET using redis_cpp

(From the half-baked-benchmarking-department in conjunction with the I-should-stash-the-results somewhere department…) Benchmarking is serious business on the internet — you don’t want to misrepresent anyone and their hard work on any given product.  That having been said, sometimes I just want ballpark values for a “lazy” estimate on what kind of numbers I’d get with a crude…

By Pavan Tumati April 7, 2018 0

C++ Reading List

In the past, I’ve paid for various libraries (such as Anthony Williams’ excellent  just::thread library ) and C++11 documents to make an attempt to get ahead of the curve.  Now, however, C++11 information is becoming more easily accessible.  There is quite a bit of new content out there that is making things more digestible for…

By Pavan Tumati June 1, 2013 Off

Merkle Trees

The paper detailing the mechanics of Bitcoin is a fascinating read. However, the technology involved requires several re-readings of the paper to make sense of what is going on.  I’ve been attacking the concepts piece by piece as time permits. In particular, the Bitcoin paper’s comments regarding the use of the Merkle Tree caught my…

By Pavan Tumati April 16, 2013 Off

Qt 5.1 Supports Android and iOS

I didn’t plan on writing marketing material for Digia here.  However, as an existing Qt user, I was excited to see this article.  The ability to target Android and iOS will make it easier to take pieces of functionality I am dependent on currently and take them to new platforms.  I’ve often wanted to collapse…

By Pavan Tumati April 9, 2013 Off