It's all in title: I argue that the use of a plain pointer should be avoided as I believe they are generally harmful. Before an army of disagreeing C++ programmers come at me angry with torches and pitchforks, I want to preface this with saying that I primarily care about C++ interfaces. What I mean is if … Continue reading Plain Pointers Considered Harmful
After a week off from writing I have decided to add another post in my C++11 favorite features series. I took a look back at Part 1 and Part 2 and (with some prodding from Twitter) noticed there are a few other features I love using in C++11. The list is getting pretty long now, but … Continue reading What Features I Like the Most in C++11 (Part 3)
My last post started a list of features in C++11 that I enjoy using and think C++ programmers should be aware of moving forward. However, the list was getting too long, so this post is a continuation of that list. In case you missed it, have a look at Part 1. The list continues... Defaulted and … Continue reading What Features I Like the Most in C++11 (Part 2)
I recently received some feedback from a colleague that my posts have made the assumption that readers understand C++ features added by the C++11 standard. Because I agree with this observation I want to take a brief step back and look at some C++11 features which have been very useful to me and the projects I … Continue reading What Features I Like the Most in C++11 (Part 1)
This is the final of my 3 part series looking at thread parallelism, specifically at existing solutions providing a generic parallel-for abstraction. In case you missed it, have a look at Part 1 and Part 2. This post is going to briefly look at performance of my last post's parallel_for() wrapper inside OSPRay. I do recognize … Continue reading Thread Parallelism (Part 3): A Very Brief Look at Performance
Last week I wrote about how you should think about using an existing solution for a tasking system before you embark on building one. If you have not read that post yet, I encourage you to do so and watch the associated talk which helped inspire it from Sean Parent ("no synchronization primitives"). In this post, … Continue reading Thread Parallelism (Part 2): A Simple Parallel-For Wrapper
Seriously, it's probably not your best use of your time...
Read code, not text about code