Click here to Skip to main content
15,075,305 members

Articles by Bartlomiej Filipek (Articles: 11, Technical Blogs: 20, Tip/Tricks: 3)

Articles: 11, Technical Blogs: 20, Tip/Tricks: 3

RSS Feed

Average article rating: 4.71

General Programming
Algorithms
Posted: 25 Nov 2018   Updated: 25 Nov 2018   Views: 7,823   Rating: 5.00/5    Votes: 8   Popularity: 4.52
Licence: The Code Project Open License (CPOL)      Bookmarked: 14   Downloaded: 0
Please Sign up or sign in to vote.
What performance can we get from C++17 parallel algorithms?
Performance
Posted: 11 Jan 2016   Updated: 11 Jan 2016   Views: 17,022   Rating: 4.21/5    Votes: 5   Popularity: 2.95
Licence: The Code Project Open License (CPOL)      Bookmarked: 16   Downloaded: 362
Please Sign up or sign in to vote.
Description of a simple performance timer that can be used to profile cpp code in your app
Posted: 8 Jun 2014   Updated: 8 Jun 2014   Views: 10,091   Rating: 4.67/5    Votes: 2   Popularity: 1.40
Licence: The Code Project Open License (CPOL)      Bookmarked: 15   Downloaded: 0
Please Sign up or sign in to vote.
Flexible Particle System - Updaters
Threads
Posted: 27 Apr 2014   Updated: 27 Apr 2014   Views: 13,741   Rating: 4.47/5    Votes: 8   Popularity: 4.04
Licence: The Code Project Open License (CPOL)      Bookmarked: 12   Downloaded: 0
Please Sign up or sign in to vote.
This book is a must-have resource for any C++ developer!
High Performance Computing
GPU
Posted: 13 May 2014   Updated: 20 Sep 2015   Views: 233,007   Rating: 4.94/5    Votes: 93   Popularity: 9.66
Licence: The Code Project Open License (CPOL)      Bookmarked: 205   Downloaded: 0
Please Sign up or sign in to vote.
A little guide about modern OpenGL and why it gives us so much value.
Multimedia
DirectX
Posted: 16 Apr 2014   Updated: 28 Apr 2014   Views: 18,292   Rating: 4.67/5    Votes: 7   Popularity: 3.94
Licence: The Code Project Open License (CPOL)      Bookmarked: 12   Downloaded: 0
Please Sign up or sign in to vote.
Short review of a very interesting book about DirectX 11 using C#
OpenGL
Posted: 23 Sep 2013   Updated: 28 Apr 2014   Views: 27,460   Rating: 4.75/5    Votes: 4   Popularity: 2.86
Licence: The Code Project Open License (CPOL)      Bookmarked: 17   Downloaded: 0
Please Sign up or sign in to vote.
Review of a very interesting book about Modern OpenGL Application Development.
Programming Languages
C++11
Posted: 19 Feb 2013   Updated: 27 Aug 2014   Views: 33,612   Rating: 4.83/5    Votes: 22   Popularity: 6.48
Licence: The Code Project Open License (CPOL)      Bookmarked: 53   Downloaded: 0
Please Sign up or sign in to vote.
Several issues related to smart pointers that are worth knowing.
Posted: 30 Jan 2018   Updated: 30 Jan 2018   Views: 6,550   Rating: 5.00/5    Votes: 8   Popularity: 4.52
Licence: The Code Project Open License (CPOL)      Bookmarked: 5   Downloaded: 0
Please Sign up or sign in to vote.
It appears that in some cases memory allocated for the object controlled by smart_ptr might not be released until all weak pointers are also ‘dead’... let's see why
Posted: 16 Dec 2014   Updated: 16 Dec 2014   Views: 115,969   Rating: 4.86/5    Votes: 58   Popularity: 8.57
Licence: The Code Project Open License (CPOL)      Bookmarked: 127   Downloaded: 618
Please Sign up or sign in to vote.
Several examples of beautiful code made up of algorithms from the C++ standard library. Heavily uses modern C++.
C++14
Posted: 29 Feb 2016   Updated: 29 Feb 2016   Views: 9,910   Rating: 4.38/5    Votes: 5   Popularity: 3.06
Licence: The Code Project Open License (CPOL)      Bookmarked: 10   Downloaded: 105
Please Sign up or sign in to vote.
In the article I cover SFINAE, a quite complex paradigm from C++ template programming area. What is this thing? Where can you use it? Let's also look how C++14/17 can help in writing such expressions.

Average blogs rating: 4.86

General Programming
Debugging
Posted: 22 Apr 2015   Updated: 22 Apr 2015   Views: 13,591   Rating: 5.00/5    Votes: 3   Popularity: 2.39
Licence: The Code Project Open License (CPOL)      Bookmarked: 0   Downloaded: 0
Please Sign up or sign in to vote.
PDB Was Not Found - Linker Warning
Optimization
Posted: 12 Apr 2013   Updated: 17 Apr 2013   Views: 11,301   Rating: 4.50/5    Votes: 2   Popularity: 1.35
Licence: The Code Project Open License (CPOL)      Bookmarked: 4   Downloaded: 0
Please Sign up or sign in to vote.
Experiments about compilation times and file structure in C++, using GCC, MinGW, Visual Studio.
Performance
Posted: 1 Jun 2014   Updated: 2 Jun 2014   Views: 17,643   Rating: 5.00/5    Votes: 9   Popularity: 4.77
Licence: The Code Project Open License (CPOL)      Bookmarked: 18   Downloaded: 0
Please Sign up or sign in to vote.
How memory access patterns can influence performance of your code
Posted: 15 May 2014   Updated: 16 May 2014   Views: 5,530   Rating: 5.00/5    Votes: 2   Popularity: 1.51
Licence: The Code Project Open License (CPOL)      Bookmarked: 4   Downloaded: 0
Please Sign up or sign in to vote.
Description of the implementation of my particle container
High Performance Computing
GPU
Posted: 3 Feb 2015   Updated: 3 Feb 2015   Views: 24,810   Rating: 4.45/5    Votes: 6   Popularity: 3.46
Licence: The Code Project Open License (CPOL)      Bookmarked: 9   Downloaded: 0
Please Sign up or sign in to vote.
Summary of techniques to stream data from CPU to GPU in OpenGL with focusing on new method called persistent mapped buffers.
Vectorization
Posted: 16 Sep 2014   Updated: 16 Sep 2014   Views: 5,850   Rating: 4.75/5    Votes: 3   Popularity: 2.27
Licence: The Code Project Open License (CPOL)      Bookmarked: 4   Downloaded: 0
Please Sign up or sign in to vote.
In this post, I will test several compiler options and switches that could make the particle system run faster.
Multimedia
OpenGL
Posted: 6 Oct 2014   Updated: 6 Oct 2014   Views: 6,040   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 4   Downloaded: 0
Please Sign up or sign in to vote.
Several code changes that made my particle system faster: SIMD, random number generator, pointer aliasing, memory alignment
Posted: 1 Oct 2013   Updated: 1 Oct 2013   Views: 9,940   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 5   Downloaded: 0
Please Sign up or sign in to vote.
glGenerateMipmap Plus SOIL library
Posted: 9 Jul 2014   Updated: 9 Jul 2014   Views: 19,353   Rating: 5.00/5    Votes: 4   Popularity: 3.01
Licence: The Code Project Open License (CPOL)      Bookmarked: 10   Downloaded: 0
Please Sign up or sign in to vote.
Description about my simple OpenGL renderer for the particle system
Posted: 14 Apr 2014   Updated: 14 Apr 2014   Views: 8,001   Rating: 4.83/5    Votes: 4   Popularity: 2.91
Licence: The Code Project Open License (CPOL)      Bookmarked: 6   Downloaded: 0
Please Sign up or sign in to vote.
Flexible Particle System - Start
Posted: 15 Apr 2014   Updated: 15 Apr 2014   Views: 6,230   Rating: 4.67/5    Votes: 4   Popularity: 2.81
Licence: The Code Project Open License (CPOL)      Bookmarked: 8   Downloaded: 0
Please Sign up or sign in to vote.
Flexible Particle System - The Container
Posted: 2 Aug 2014   Updated: 2 Aug 2014   Views: 8,440   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 7   Downloaded: 0
Please Sign up or sign in to vote.
How to start optimizing the particle system code.
Posted: 15 May 2014   Updated: 16 May 2014   Views: 8,910   Rating: 5.00/5    Votes: 6   Popularity: 3.89
Licence: The Code Project Open License (CPOL)      Bookmarked: 4   Downloaded: 0
Please Sign up or sign in to vote.
Description of my emitter and generator module for particle system
Programming Languages
C
Posted: 13 Mar 2013   Updated: 14 Mar 2013   Views: 11,851   Rating: 5.00/5    Votes: 7   Popularity: 4.23
Licence: The Code Project Open License (CPOL)      Bookmarked: 13   Downloaded: 0
Please Sign up or sign in to vote.
Include Guards, Pragma Once, Predeclarations and other hints that might be useful when dealing with includes.
C++
Posted: 19 Feb 2013   Updated: 28 Mar 2013   Views: 14,000   Rating: 4.93/5    Votes: 7   Popularity: 4.17
Licence: The Code Project Open License (CPOL)      Bookmarked: 11   Downloaded: 0
Please Sign up or sign in to vote.
Introduction to insulation method, for improving physical design of the code.
Posted: 2 Jan 2016   Updated: 3 Jan 2016   Views: 27,115   Rating: 4.76/5    Votes: 16   Popularity: 5.74
Licence: The Code Project Open License (CPOL)      Bookmarked: 24   Downloaded: 0
Please Sign up or sign in to vote.
Maybe I’ll be boring with this note, but again I need to write that this was another good year for C++! Read my report from 2015.
Posted: 9 May 2018   Updated: 9 May 2018   Views: 3,221   Rating: 4.71/5    Votes: 4   Popularity: 2.84
Licence: The Code Project Open License (CPOL)      Bookmarked: 7   Downloaded: 0
Please Sign up or sign in to vote.
. There are many situations where you need to express that something is “optional” - an object that might contain a value or not. You have several options to implement such case, but with C++17 there’s probably the most helpful way: std::optional..
Posted: 4 Mar 2013   Updated: 4 Mar 2013   Views: 12,370   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 3   Downloaded: 0
Please Sign up or sign in to vote.
Why forward declaration can cause some troubles with (smart) pointers.
C++11
Posted: 22 Feb 2015   Updated: 22 Feb 2015   Views: 10,310   Rating: 4.63/5    Votes: 9   Popularity: 4.42
Licence: The Code Project Open License (CPOL)      Bookmarked: 2   Downloaded: 0
Please Sign up or sign in to vote.
My short summary for non static data members initialization from modern C++. A very useful feature.
C++14
Posted: 25 Oct 2014   Updated: 25 Oct 2014   Views: 11,241   Rating: 5.00/5    Votes: 4   Popularity: 3.01
Licence: The Code Project Open License (CPOL)      Bookmarked: 1   Downloaded: 0
Please Sign up or sign in to vote.
A list of my top 5 interesting C++ proposals.for pre-Urbana mailing. Unified Syntax Call, Coroutines, array_view ranges and modules.

Average tips rating: 4.59

General Programming
Architecture
Posted: 23 Sep 2015   Updated: 23 Sep 2015   Views: 13,050   Rating: 4.74/5    Votes: 12   Popularity: 4.94
Licence: The Code Project Open License (CPOL)      Bookmarked: 11   Downloaded: 90
Please Sign up or sign in to vote.
How to apply the strategy pattern to a problem while designing a class hierarchy. What are the pros and cons of this approach?
Debugging
Posted: 23 Sep 2015   Updated: 23 Sep 2015   Views: 25,202   Rating: 4.20/5    Votes: 8   Popularity: 3.79
Licence: The Code Project Open License (CPOL)      Bookmarked: 10   Downloaded: 0
Please Sign up or sign in to vote.
By default, Visual Studio (up to VS 2013) uses additional debug heap that slows down applications, even in Release mode. Read what you can do about this.
Threads
Posted: 17 Jan 2014   Updated: 14 Oct 2014   Views: 33,810   Rating: 4.82/5    Votes: 15   Popularity: 5.66
Licence: The Code Project Open License (CPOL)      Bookmarked: 23   Downloaded: 0
Please Sign up or sign in to vote.
Simple introduction to std::future and std::async and why they can be useful.

Average reference rating:

No reference articles have been posted.

Average project rating:

No projects have been posted.

Bartlomiej Filipek
Software Developer
Poland Poland
Software developer interested in creating great code and passionate about teaching.

Author of C++17 In Detail - a book that will teach you the latest features of C++17!

I have around 11 years of professional experience in C++/Windows/Visual Studio programming. Plus other technologies like: OpenGL, game development, performance optimization.

In 2018 I was awarded by Microsoft as MVP, Developer Technologies.

If you like my articles please subscribe to my weekly C++ blog or just visit www.bfilipek.com.