Mutex vs Semaphore

Hi All, Thought would add some tech interview tips for software engineers. I will try to keep the topics general like OS concepts, C/C++ programming, etc. More or less what I am aware of .. 🙂 One common question we all come across in our interviews is difference between Mutex and Semaphores ? Most of…

Comparing Floating Point Numbers, 2012 Edition

Originally posted on Random ASCII:
This post is a more carefully thought out and peer reviewed version of a floating-point comparison article I wrote many years ago. This one gives solid advice and some surprising observations about the tricky subject of comparing floating-point numbers. We’ve finally reached the point in this series that I’ve been…