Category Archives: C++

C++ Debt Paid in Full? Wait-Free, Lock-Free Queue

[Shameless Plug Warning] : You have until August 31st, 2017 to try out NetMon and participate in LogRhythm’s Network security contest. Win up to $18,000 when applying your scripting skills to detect network vulnerabilities.  See https://logrhythm.devpost.com/ for more information. In 2009 I … Continue reading

Posted in C++ | 14 Comments

Java Battle Royal: LinkedList vs ArrayList vs DynamicIntArray

[Shameless Plug Warning] : You have until August 31st, 2017 to try out NetMon and participate in LogRhythm’s Network security contest. Win up to $18,000 when applying your scripting skills to detect network vulnerabilities.  See https://logrhythm.devpost.com/ for more information. Updates April 23rd, … Continue reading

Posted in C++, Java | 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

Number crunching: Why you should never, ever, EVER use linked-list in your code again

[Shameless Plug Warning] : You have until August 31st, 2017 to try out NetMon and participate in LogRhythm’s Network security contest. Win up to $18,000 when applying your scripting skills to detect network vulnerabilities.  See https://logrhythm.devpost.com/ for more information. Updates: 23rd April, … Continue reading

Posted in C++, Software Engineering | 45 Comments

Exploring C++11, part 1 (Time)

[Shameless Plug Warning] : You have until August 31st, 2017 to try out NetMon and participate in LogRhythm’s Network security contest. Win up to $18,000 when applying your scripting skills to detect network vulnerabilities.  See https://logrhythm.devpost.com/ for more information. I was playing … Continue reading

Posted in C++ | 8 Comments

g2log – an asynchronous logging library is now live at CodeProject

G2log is finally live at CodeProject http://www.codeproject.com/KB/library/g2log.aspx Many thanks to the people who followed g2log and emailed me improvement suggestions. It made it a whole lot better! Apart from some formatting issues, a missing word in the introduction and that … Continue reading

Posted in C++, Software Engineering | 1 Comment

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 | 78 Comments