DPDK is written in C and it is expected to be used in C environments. Yes I know, there are exports ready for C++ usage all over the lib, but if you ever tried to include DPDK code into your C++ application then you’ve already discovered that’s actually quite tricky to build DPDK with C++ toolchains. […]
The Kdb+ database, K and Q.
Everybody to a certain degree is familiar with basic database concepts, how they work how to make simple queries, how to install this or that database &c &c. Probably every programmer has at some point installed MySQL –or other similar DB’s-, have learned a bit of SQL and perhaps made some professional use of those knowledge. […]
C++17: Structure binding
Even when the new C++ standard was a work in progress most major compilers have been supporting the upcoming C++17 features already, now the heavy lifting of the job has been completed and just some tweaks here and there are separating us from the “official” publication of the ISO Standard, it’s a great time to publish […]
My graphics engine.
When I started studying OpenGL back in December it was mostly for fun and with very little interest in going deeper in the realm of graphical programming. But now, I find myself spending more and more time digging into OpenGL details or in how to sculpt meshes with Blender. There are a lot of things […]
For compatibility reason to C the C++ language include the union construct which allows to manipulate several different types in a uniform manner. The reason I’m writing that this feature exist for compatibility reasons is that is almost completely useless when you’re doing object oriented programming, the only allowed types to be used with union are POD’s, non […]
When someone tell me that he know’s C++ and that he actually is a C++ programmer I believe him, but, this statement need some further explanation about which version of C++ the fellas is talking about!. Most C++ programmers knows C++03, eventually a little of C++11 and that’s all. Nowadays the tag C++ is used by […]
C++17: Folding expression.
That is one of those new additions to the language that for the most part is not understood, but that’s not a surprise since most of the people do not understand as well for what reason on heart someone included something diabolic as the variadics in the C++ language. The folding expressions was added to the […]
C++17: map splicing
Std::list have a very useful operation which allows you to move elements from one list to another, it’s called splicing. Splicing come’s almost for free, no elements are really moved but only the pointers internally used by std::list are copied from one container to another. Here’s how splicing work: The first invocation of the splice function […]
Rendering text, not that simple at all. (part 2)
Finally I’m back! September was a long and busy month, as you probably know I changed my job and had a lot of paperwork to do in relation with this event! But now it’s done! I’m on-board of a great project with great people, its gonna be cool I think. Before sharing details about my duties […]
Rendering text, not that simple at all. (part 1)
It was a kind of surprise to discover that there’s no straightforward way to render text using OpenGL, for people new to graphics programming like me drawing a text looks like a very primitive functionality which I expect to be available by default as functions like glDrawText(some context,const char*). But that’s not the case, and rendering text […]