Quantcast
Channel: Bartek's coding blog
Browsing all 325 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

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 Article


Image may be NSFW.
Clik here to view.

Talk 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 Article


Image may be NSFW.
Clik here to view.

Flexible 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 Article

Image may be NSFW.
Clik here to view.

Automated 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 Article

Image may be NSFW.
Clik here to view.

June 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 Article


Image may be NSFW.
Clik here to view.

Automated 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 Article

Image may be NSFW.
Clik here to view.

Flexible 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 Article

Image may be NSFW.
Clik here to view.

Quick 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 Article


Image may be NSFW.
Clik here to view.

Flexible 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 Article


Image may be NSFW.
Clik here to view.

Review 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 Article

Image may be NSFW.
Clik here to view.

OpenGL 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 Article

Image may be NSFW.
Clik here to view.

Flexible 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 Article

Image may be NSFW.
Clik here to view.

Flexible 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 Article


Image may be NSFW.
Clik here to view.

Two 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 Article

Image may be NSFW.
Clik here to view.

My 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 Article


Image may be NSFW.
Clik here to view.

Code::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 Article

Image may be NSFW.
Clik here to view.

3 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 Article


Image may be NSFW.
Clik here to view.

Top 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 Article

Image may be NSFW.
Clik here to view.

Code 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 Article

Image may be NSFW.
Clik here to view.

C++ 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
Browsing all 325 articles
Browse latest View live