fenbf Profile


Join Date:

Blogs Owned

Code and Graphics is a technical blog about native and graphics programming. Topics focus mostly on.. C++ and OpenGL. Moreover posts are also related to good development practices, tips, performance.. optimizations and new coding techniques.

Visit Follow

Other Tags: programming, opengl, graphics, cpp, gamedev

Latest Blog Posts

  • Async Remote Book Review
    on Dec 19, 2016 in books productivity work style
    As you might already know, I work remotely. That’s why I try to follow and read guidelines/articles that relate to that style of working. Recently, I got very curious when I saw a new book called “Async Remote” from the Arkency team. Let’s se...
  • Debugging Tips Extra stuff
    on Dec 12, 2016 in Debugging Visual Studio
    In June I’ve listed 11 tips that can save your time when doing debugging. As it appears, the article wasn’t that horrible :) I got a chance to update the content, extend the text and publish it on Visual Studio Magazine! Instead of original 11,...
  • Please declare your variables as const
    on Dec 5, 2016 in code style Cpp
    I need to confess that for the last few years I’ve been a bit obsessed with the idea of making all variables const. Whenever I declare a variable in a function body, I try to think if I can make it constant. Let me explain why I think you should be...
  • Code And Graphics in Mid 2016
    on Jul 22, 2016 in blogging teaching
    It’s summer! Hmm… actually it’s summer for almost one month now. This time, I don’t want to write about something heavy and related to programming. Let’s make a little summary of the first part of the year.. and also, I have a question to y...
  • 7 books that taugh me how to code
    on Jul 7, 2016 in books learning
    As you might read in my recent post - coding without Google - I’ve started learning to program mostly from books. In the beginning, I read them from cover to cover (assuming I could understand them!) and recreated examples. It was an excellent time...
  • 7 books that taught me how to code
    on Jul 7, 2016 in books learning
    As you might read in my recent post - coding without Google - I’ve started learning to program mostly from books. In the beginning, I read them from cover to cover (assuming I could understand them!) and recreated examples. It was an excellent time...
  • Grammarly Review - grammar for coders
    on Jul 5, 2016 in blogging tools
    Today I’d like to write about a topic that potentially is not much related to the programming: about English Grammar. You may wonder why? There are at least two reasons. The first: it’s possible that from time to time you have not only to write...
  • C++ (Core) Coding Guidelines
    on Jun 23, 2016 in code style Cpp languages
    Since 2011, when C++11 arrived, we all should be changing our coding style into modern C++ and at the same time keep good old tips. There are also general rules for programming and bug-free coding. Here’s a list of guidelines and other resources th...
  • 11 Debugging Tips That Will Save Your TimeProgramming is not only typing the code and happily see how smoothly it runs. Often it doesn’t run in a way we imagine! Thus, it’s crucial to debug apps effectively. And, it appears that the debugging is an art on its own! Here’s my list of tip...
  • Coding without Google
    on May 26, 2016 in books productivity work style
    Some time ago an intriguing article appeared on reddit: “Do Experienced Programmers Use Google Frequently?”. The author discussed if expert programmers use google more often than novice coders. He mentioned than using google is actually a good th...
  • Digitial Dragons 2016 day 2
    on May 24, 2016 in Conferences games presentations
    Official logo from digitaldragons.pl Please read about the first day here. Let’s see what happened in the second, final day. For sure, the whether was worse than on Monday. SessionsUnity: AAA Graphics and VRLightsaber Escape - TechnologyCreating D...
  • Digitial Dragons 2016 day 1
    on May 16, 2016 in Conferences games presentations
    Official logo from digitaldragons.pl May brings a special event into gaming industry in Cracow. For the fifth time Digital Dragons Conference is organized! I’ve just returned from the first day of the conference. Here are my notes. AboutSessionsRe...
  • Google benchmark library
    on May 12, 2016 in experiments libraries performance
    Some time ago I wrote about micro benchmarking libraries for C++ - here’s the link. I’ve described three libraries: Nonius, Hayai, Celero. But actually, I wanted to cover fourth one. Google Benchmark library was at that time not available for my...
  • Custom Deleters for C++ Smart Pointers
    on Apr 28, 2016 in Cpp11 STL
    Let’s say we have the following code: LegacyList* pMyList = new LegacyList();...pMyList->ReleaseElements();delete pMyList; In order to fully delete an object we need to do some additional action. How to make it more C++11? How to use unique_ptr...
  • Visual Studio C++ Productivity TipsVisual Studio is my main development environment. I’ve been using this tool probably since version 2003…2005. I am really happy that VS is getting more and more powerful these days and you can also use it on multiple-platforms (through VS Code, f...
  • The Matrix Updated
    on Mar 17, 2016 in experiments graphics shaders
    Sometimes you can find interesting stuff in your past projects! One day I was thinking about new post topics for the blog, but somehow, I got not much energy to do it. So, I just browsed through my very old projects (that are actually listed in my p...
  • Nice C++ Factory Implementation 2
    on Mar 3, 2016 in Cpp
    The original code from my previous post about “nice factory” did not work properly and I though there is no chance to fix it. It appears, I was totally wrong! I got a really valuable feedback (even with source code) and now I can present this imp...
  • SFINAE Followup
    on Feb 25, 2016 in Cpp templates
    As it appears, my last post about SFINAE wasn’t that bad! I got a valuable comments and suggestions from many people. This post gathers that feedback. Using modern approachdecltypedeclvalconstexprvoid_tdetection idiomCheck for return typeMore Exam...
  • Notes on C++ SFINAE
    on Feb 18, 2016 in Cpp Cpp11 templates
    This time I’d like to tackle a bit more complex problem: SFINAE. I’m not using this paradigm on a daily basis, but I’ve stumbled across it several times and I thought it might be worth trying to understand this topic. What is SFINAE?Where can y...
  • Revisiting Old Benchmark - Vector of objects or pointers
    on Feb 4, 2016 in libraries performance tools
    Around one and a half year ago I did some benchmarks on updating objects allocated in a continuous memory block vs allocated individually as pointers on the heap: Vector of Objects vs Vector of Pointers. The benchmarks was solely done from scratch an...