Category Archives: Software Engineering

Kjellkod’s g2log vs Google’s glog: Are asynchronous loggers taking over?

G2log, the asynchronous logging utility I have been working on in my spare time is finally live and ready to download. An introduction and a performance comparison with Google’s logging library (glog) can be found at http://www.kjellkod.cc/g2log-efficient-background-io-processign-with-c11 The performance tests … Continue reading

Posted in C++, Software Engineering | 84 Comments

Active Object the C++11 way

g2log is getting close to being finished (as in an online article somewhere). While that is taking place I took a side step and cleaned up some old code snippets / articles that I wrote at kjellkod.cc I think the … Continue reading

Posted in C++, Software Engineering | Tagged , , | Leave a comment

Enter Cilk Plus

It was an interesting day yesterday. 10 hours on the road from Kista all the way up north to Luleå for the annual moose hunt. With my Honda Jazz, not really built for highways, the radio Bandit FM blaring in … Continue reading

Posted in C++, Software Engineering | Leave a comment

Moving to Qt5? Will that remove Qt’s performance issues on Linux?

The last year and a half I’ve immersed myself with Qt, both for comparison reasons with other graphical frameworks and lately with hands-on system development. It’s been fun and I really like how easy Qt allows you to create widgets … Continue reading

Posted in C++, Qt, Software Engineering | 14 Comments

C++ programmers, the future is here

Finally, C++0x is here. Well almost =) My favorite blogger, mr Sutter just posted that the ISO C++ committee has approved the final technical changes to the C++0x standard. This means that it may complete by this summer. But why … Continue reading

Posted in C++, Software Engineering | Tagged , | Leave a comment

Design by Contract & why not also a Quick and “dirty” Logger?!

I mentioned earlier my thoughts on a tailor-made a KISS style logger. Design-by-Contract is also something that keeps popping up. If a really messed up error happens just a simple assert won’t do since you want to use your logger … Continue reading

Posted in C++, Software Engineering | Leave a comment

Turmoil, Intel’s influence and my Lock-Free Queue Article receives Attention

Much ado about … Well crazy week don’t you think? Nokia + Microsoft == Win-Win (for Microsoft at least).  Throw in what’s happening in Egypt and that my article at Code Project is getting noticed 🙂 really made my week.

Posted in C++, Software Engineering | Leave a comment

Candy for programmers

This is my second weekend when both my little daughter and I are home all weekend sick. I’m so gracious to only be sick on weekends, which I’m sure my employer appreciates a lot :p Either way, I got an … Continue reading

Posted in C++, Software Engineering | 1 Comment

VCS trials: Mercurial (Subversion, Mercurial 4x Failure and back to Subversion)

This year I had the fortune of being able to try out some modern Distributed Version Control Systems. Both Git and Mercurial that are distributed were very appealing to me. Since it seemed that Mercurial might be easier to learn, a decision … Continue reading

Posted in Software Engineering | 1 Comment

Let’s try the new C++0x type of Active Object

The Active Object design pattern decouples method execution from method invocation that reside in their own thread of control. The goal is to introduce concurrency, by using asynchronous method invocation and a scheduler for handling requests. I.e in short you … Continue reading

Posted in C++, Software Engineering | 2 Comments