Vector of Objects vs Vector of Pointers Updated
p, div { text-align: justify; }In one of my previous post I wrote about performance differences between using vector<Obj> and vector<shared_ptr<Obj>>. Somehow I knew that the post is...
View ArticleTalk summary: The Last Thing D Needs by Scott Meyers
p, div { text-align: justify; }Recently ended DConf 2014 conference was, as usually, a great event filled with interesting topics about the D language. I still need to update my little knowledge about...
View ArticleFlexible particle system - Updaters
p, div { text-align: justify; }In the previous particle post the particle generation system was introduced. But after a new particle is created we need to have a way to update its parameters. This time...
View ArticleAutomated Reports
p, div { text-align: justify; }On my programming blog, I often try to compare performance characteristics of different algorithms or concepts. I usually log performance output (like elapsed time) to...
View ArticleJune 2014 Notes: Fire Phone, CRT Refactoring and the Vasa Ship.
p, div { text-align: justify; }Notes from recent stories that got my attention.Fire PhoneThe Great C Runtime (CRT) RefactoringWhy C++ Sails When the Vasa Sank?Amazon Fire PhoneAmazon Fire PhoneThe...
View ArticleAutomated Reports with C++
p, div { text-align: justify; }Recently, I've written an article about using a .NET third party library to generate reports from apps. You can find it on this in my previous post. In my opinion, the...
View ArticleFlexible particle system - OpenGL Renderer
p, div { text-align: justify; }As I wrote in the Introduction to the particle series, I've got only a simple particle renderer. It uses position and color data with one attached texture. In this...
View ArticleQuick case: Char Pointer vs Char Array in C++
p, div { text-align: justify; }When you write:char strA[] = "Hexlo World!";strA[2] = 'l';Everything works as expected. But what about:char *strP = "Hexlo World!";strP[2] = 'l';Do you think it will work...
View ArticleFlexible particle system - How to start with Software Optimization
p, div { text-align: justify; }It's time to start improving the particle code and push more pixels to the screen! So far, the system is capable to animate and do some basic rendering with OpenGL. I've...
View ArticleReview of "D Cookbook"
p, div { text-align: justify; }I am very curious about the D language and its community. Although, I do not have lot's of experience with this language, I try to track news and important updates....
View ArticleOpenGL 4.5
p, div { text-align: justify; }OpenGL 4.5 has just arrived!Since Siggraph 2014 is happening right now, we could expect a new version of OpenGL. And it happened! Khronos announced OpenGL 4.5! Not a...
View ArticleFlexible particle system - Tools optimization
In this post I will test several compiler options and switches that could make the particle system run faster. Read more to see how I've reached around 20% of performance improvement!The SeriesInitial...
View ArticleFlexible Particle System - Code Optimization
After playing with the tools we have some more options to improve the performance of the particle system. This time, we need to rewrite some parts of the code.In total, the particle system runs almost...
View ArticleTwo Useful Gadgets
I would like to share with you my thoughts on two useful devices that I've bought recently: Galaxy Tab 4 8.0 and Logitech h800 headset. One was needed to replace my older version, and the other to...
View ArticleMy Top 5 C++ Proposals for October 2014
Several days ago at isocpp.org there were tons of different c++ proposals' updates. Each day there was like several posts describing each application. What was the reason of it?As it appeared, 10th...
View ArticleCode::Dive conference report
Wrocław Fountain @WikipediaScott Meyers and Venkat Subramaniam in Wroclaw, November 5, 2014, at a new programming conference? I couldn't miss that!Additional info: most topics related to C++, one day,...
View Article3 Tools to Understand New Code from Visual Assist
You’ve just started a new job and landed in front of a huge code base. Great! What a challenge! It would be nice to quickly get a general understanding of your project and be able to comfortably move...
View ArticleTop 5 Beautiful C++ STD Algorithms Examples
Some time ago I've seen an inspiring talk from CppCon 2013: "C++ Seasoning" by Sean Parent. One of the main points of this presentation was not to use raw loops. Instead, prefer to use existing...
View ArticleCode And Graphics in 2014
It seems that this year was quite good for the blog! Thanks for all the views, comments, likes, re-sharing, pluses...!GeneralBlogger platform shows that I am on the verge of 200k of view. Most of it...
View ArticleC++ Status at the end of 2014
This was a good year for C++!Short summary (language features):Clang supports C++14GCC supports C++11 and most of C++14 (Full support in upcoming GCC 5.0)Intel 15.0 supports C++11 (some features on...
View Article