Category Archives: Software Engineering

Concurrency : concurrent<T> part 2

concurrent<T> part I described a powerful wrapper that made all calls to the object to be executed asynchronously and in FIFO order. Using a lambda call made it easy to bundle several actions on the concurrent<object> in one asynchronous operation. … Continue reading

Posted in C++, concurrency, Software Engineering | 2 Comments

C++11 template tricks: Finding the return value type for member function-pointer

Using templates you can deduct the return type from a non-member function fairly easy. Finding the return type for a member function is a little trickier. You can do it in various ways. decltype can still be used but now … Continue reading

Posted in C++, coding, concurrency, Uncategorized | 1 Comment

Concurrency : Concurrent<T> part 1

Herb Sutter presented in C++ and Beyond 2012 a very useful concurrency pattern that is an improvement from the “active object“. concurrent wraps any objecft and all calls to the object will be executed asynchronously and in FIFO order. Basically it … Continue reading

Video | Posted on by | 1 Comment

Rethinking the coding IDE : SourceKit App on Google Chrome

For the last couple of months I have tried to study up for coming job interviews. This typically means finding an area where I am rusty and make it shine. As I do this I find myself going through my … Continue reading

Posted in C++, coding, Software Engineering | Tagged , | 5 Comments

Java Battle Royal: LinkedList vs ArrayList vs DynamicIntArray

Updates April 23rd, 2014: Added the ideone examples to GitHub: https://github.com/KjellKod/blog_linkedlist_vs_vector Java Battle Royal: LinkedList vs ArrayList vs DynamicIntArray My obstinate anti-LinkedList blog entry which turned into a CodeProject article recently took some heat from a former college, David. I … Continue reading

Posted in C++, Java | 4 Comments

Not enough patience, Uncle Bob!

<Part II of my personal reflection series, that started back in February> A while ago I set out to decide whether or not TDD is my cup of tea. Or rather, it is a cup I have just sniffed the … Continue reading

Posted in rambling, Software Engineering | 4 Comments

g2log now with mainstream c++11 implementation

Now the thread part (and much more) of C++11 is available for free, for the mainstream C++ developer. Visual Studio 11 (beta and free) and g++-4.7 (free) are both stable and provides a lot of C++11 features. I really recommend … Continue reading

Posted in C++, Software Engineering | 22 Comments