Alexonlinux - alexonlinux.com - Alex on Linux
General Information:
Latest News:
printf() vs stream IO in C++ 15 Aug 2012 | 03:10 am
Before joining Dell I was mostly working in kernel writing in C programming language. At Dell I still work on mostly low level stuff, but this time it is user-mode, so I am not tied up to C anymore. W...
gcc macro language extensions 9 Feb 2012 | 12:28 pm
One of the great things about gcc and in particular its C/C++ preprocessor is various extensions that it has. In this post I would like to briefly describe three of them. One allows to turn C/C++ toke...
UML cheatsheet 20 Sep 2011 | 04:48 am
Every once in awhile, I have to draw a UML diagram. I rarely do serious designs with UML, however sometimes I do need to depict some piece of code in a diagram and UML seems to be the best notation ar...
Making writes durable – is your data on disk? 20 Sep 2011 | 04:26 am
Here is an interesting article written by Evan Jones. The article explains how you can be guaranteed when your data is on disk. In case you’re wondering, when write(), fwrite() or any other library c...
Models for multithreaded applications 22 Apr 2011 | 10:00 am
As you know, I changed a couple of workplaces during my career. Long story short, one interesting thing that I noticed in different companies is various models for multi-threaded programs (mostly for ...
Python for bash replacement 27 Dec 2010 | 05:25 am
When I started learning Python, I was looking for a programming language that would replace BASH, AWK and SED. I am a C/C++ programmer and as such I better invest my time into studying C and C++. Inst...
pthread_exit() in C++ 9 Oct 2010 | 09:28 pm
Today I ran into an interesting problem that I would like to share. I am working on multi-threaded code in C++. Here’s what happened. I started a thread that looks like this: The do_something() rout...
My next programming language 23 Aug 2010 | 09:04 am
This week-end I’ve been playing with various version control systems. Until now, I’ve been doing all my home codings with subversion. I’ve written about bazaar in the past, but it seems to me that baz...
Call a constructor or allocate an object in-place 5 Jul 2010 | 08:40 am
Since I joined Dell, my main field of research and work has somewhat changed. Now I am mostly working with C++ and file-systems. This world is not entirely new to me, but apparently I have a lot of st...
This is me, couple of weeks ago. 12 May 2010 | 04:25 am
I think this is going to become my new icon. What do you think? No related posts.