UNICODE support in the C++ Standard

The Oxford meeting of the ISO C++ standards committee between 15-20 April resulted in new features beeing into the draft paper of the C++0x standard. One of the features refer to Unicode support: a new header, called <cuchar>, was introduced. This header makes available new built-in types char16_t and char32_t, as well as new prefixes … Read more

‘Orcas’ Renamed Visual Studio 2008

Monday, June 4, Microsoft announced during the TechEd 2007 conference in Orlando, Florida, that Visual Studio code-named ‘Orcas’ was renamed Visual Studio 2008. They also announced that a second beta version will be available by the end of the summer, and it will include Visual Studio Shell, which allows developers to create an distribute tools built … Read more

My CodeGuru Articles on LINQ

Recently CodeGuru published the last part of my introductory series of articles on LINQ. Here are the links to the articles: Introduction to LINQ, part 1: LINQ to objects Introduction to LINQ, part 2: LINQ to XML Introduction to LINQ, part 3: LINQ to SQL I hope you’ll enjoy and benefit from the reading.

Write Unmaintainable Code

Every once in a while, I run into this site teaching techniques for writing unmaintainable code. Of course, the hole purpose is to teach exactly the contrary (or at least that’s what I hope). Some of my favorite techniques are: use of single letter variable names, which of course makes searching almost impossible, and even less … Read more

Happy Birthday Star Wars!

Today we celebrate 30 years since Star Wars, A New Hope was released. It is estimated that 1 billion people have seen the movie. Here are my favorite lines from the saga: Obi-wan “Use the Force, Luke”. Leia: “I love you”. Han: “I know!” Vader: “I am your father.” Luke: “No. No. That’s not true! … Read more

Working with the Registry in VC++

Working correctly with the Windows Registry might prove a little difficult, especially for beginners. One thing one should care about for example is using the correct access rights (not just the default ones) when creating a registry key. To ease the burden of directly using the Win32 registry API, I decided to wrap them inside … Read more

Performance of LINQ Queries

When I delivered the LINQ presentation at the RONUA meeting in April, I was asked how does LINQ perform on big data sets. To answer that I decided to test LINQ to XML against a 100+MB file. I decided to extract three different sets of data from this XML file: 1 set representing about 0.5MB … Read more