A many/multi-core blog

This blog is dedicated to the new many-core/multi-core programming techniques, especially the ones available in Visual Studio 2010.

Where was I

I bet many of you just wonder where have I been lately, and why I wasn’t blogging. Well, the reason is simple. I was very busy with my work. I talked at some conferences in Sweden (ScanDev, TechDays), I organized THE Launch Party for Visual Studio 2010 in Stockholm, I have been teaching a class i US for Microsoft, and talking at some user groups in NW Pacific, both in Canada and US, in Sweden, in Romania, at TechEd US, at DevSum10, and last but not least at NDC2010.  So, as you might see, it was a busy spring for me. I know that is not a good excuse for not writing, so I will try from now on to blog more often.

The summer was dedicated to my family. We moved to a new house, and we decided to do some of the work ourselves.

Now the autumn began in Sweden(it actually began mid august, but now is official), and with it the activities as well. We already had one UG meeting, and three more are around the corner in the next coming weeks.

Considering how much I was traveling this spring, I decided to take it easier on conferences for the moment, so I will talk only at DevReach. If you live in Europe, and you want to attend a conference this autumn, then DevReach is the conference you have to attend. Is cheap, it has a very impressive list of speakers, and is very well organized.

One more thing. The very first book that acknowledges my existence :-)  is out. Go check it out!

Best regards,


A quick tip for Visual Studio 2010 users

Being a teacher I spend a lot of time in the class room. One thing that I need to do often is to reset the settings of Visual Studio, and the way i did it until now was to remove the the whole Visual Studio key from the registry. Today, while looking for the Visual Studio Tips & Tricks blog, I got over an older post about Visual Studio 2005 and a simpler way of resetting the settings. :) You just have to run devenv /resetuserdata from the command prompt, and you’re done! And it works with 2010 too.

Hereis the original post!

Trip report from TechED Europe 2009

As many of you know already, I was at TechEd Europe 2009 between November 8, and November 13. The event was sold out, and because of that very crowded. I got to meet a lot of interesting persons, to make a lot of new friends, and to do a lot of activities as well. One very interesting thing that happened to me, was that Intel got an eye on me before TechEd was even started. Prior to my Birds Of a Feather “The Future of Parallel Programming” a team from Intel came to me and asked if I agree to be filmed during my session, and after that interviewed, so they can publish it on “Intel Software Network”. The answer was yes, and the result is here:”Video chat: The future of parallel programming”, and here:

So now I am on YouTube! :)

Anyway, it was a very busy week. If you go to ThechED online and lookup my name on the session list you will get 17 hits. More a about those sessions in a future post. I was as well member of the jury panel on the first day of Speaker Idol contest, and worked on the Hands On Lab Area. I did as well some interviews for the www.cloudcasts.net with Tess Ferrandez, Paula Januszkiewicz, Karen Young, and Jon Flanders.

One thing I didn’t like, was that there weren’t any activities for speakers. So the only place to meet other speakers was on the speaker lounge, but  almost everyone was using the room just prior to their own session, so everyone was very stressed.

This week I am at PDC, and I plan to attend the preconference day on Patterns of Parallel Programming, and then to do some more interviews for the www.Cloudcasts.net , so stay tuned.



My first TechEd Session is within one hour from now

And I am very stressed. :) But that is normal. And if you don’t believe me, ask anyone talking in public. But that is a good thing. According to some is an indication that you care about what you are doing, and you want everything to go perfect. And that is exactly my feeling. :) I’ll let you know later how it went.


Erlang with Joe Armstrong.

As I said in my Trip rapport from DevReach, I will attend some sessions at Öredev, and one of them was Erlang Programming with Joe Armstrong. I loved his teaching style, and you do notice that he knows Erlang inside out. He has to, because he is the inventor of the language. :) One thing that stroke me was that Erlang resembles Lisp. The language and the way of programming feels unnatural for an procedural/object oriented programmer. Even though you can define you own methods, there is no such thing as variable in Erlang. The only thing you get is a write once, read many stores. Why? Because everything in Erlang is immutable, and that is a good thing in high parallel applications, because no shared data, means no need to lock.

Next for me at Öredev will be a whole day about parallel programming, and some interviews with the speaker there.


The new optional parameter in C#

When I first read about the new optional and named parameters features in C# 4.0, I was very excited, I said, finally, something that I appreciated in C++ is now available in C# too.

But couple of days ago I was reading somewhere (I don’t remember where, but when I will, I will update this post) about those, and a comment drew my attention. Optional parameters are treated  like constants. So I had to test that. What does this means? It means that if you have a library with a method that uses optional parameters, and you call that method from another assembly without specifying values for those optional parameters, you will actually bind your method call to their default values as if they were constants. So if you will update the value of the default parameter later on, then you have to recompile the calling assembly too. I will upload a video on www.cludcasts.net soon to prove this.


TechEd Here I come. Again!

My second post on this blog was TechEd Rocksand I wrote it right after I returned from TechEd North America in LA. And that was my first TechEd ever. My second TechEd will be in November, but this time I will be there as speaker. I have right now 8 approved sessions, and some more on the way. AFAIK the record is 10, so my chances are pretty big to beat that record. Anyway, beside my sessions, I will work on HOL area, as a favor to a friend, and I intend to continue my “Five minutes with…” series of interview for Alan's CloudCasts site. All this info will be available on this blog so, stay tuned.


First wave of interviews in my “Five minutes with…” series.

As you might know from my previous post I was between October 11 and October 14 in Sofia, Bulgaria, to speak at DevReach. Beside speaking there, I took the time to interview some of the speakers. The time didn’t allow me to interview all of them, but I will try to repair that by chasing them at Öredev, TechED, or PDC. So more video will come. If you want to see the results, go to CloudCasts.net, and I promise you, you will be amazed how much a person with passion can say within five minutes. If you have any comments, or suggestions about who would you like to see on this site, just let me know.


Trip rapport

Long time no blog. :) One of the reasons I haven’t done it for so long is because I was very busy. Between October 11 and October 14, I was in Bulgaria for a conference, or better put for THE conference for developers, organized in Central and Eastern Europe. The conference name is DevReach. There were a lot of Internationally renowned speakers, Microsoft Regional Directors, MVPs, INETA Speakers, and some of them all those together;). The quality of the conference was very high, both content wise and organizational. The price, very affordable (100€ for 2 days, or 150€ for the VIP Pass), the venue hotel was a 5 stars hotel and the price per room is under 100€ per night, and if you buy the flight ticket in good time, then you get a cheap deal on that too, so the total price will not be more than 600€. And in Europe you won’t find a conference of such caliber at this price.

I asked some of the speakers why are they coming such a long way to this conference. The general answer was, because they are passionate about what they are doing, and they want to share that with the rest of the world. Most of the speakers have come to this conference since it started three years ago, and they intend to come as long as they will be invited. Another reason that was very popular, was because the organizers threat the speakers very well, and for that I can vouch personally. One thing I know for sure, is that next year I will be there, even if I will not be invited as speaker. Why? Just to met with those guys. In my next blog post I will include a link to some videos I took on this trip, as part of my show called “Five minutes with…”, and hosted by My good friend Alan Smith on his site CloudCasts.net

What does this have to do with Multi-core? Well, I was there to deliver two sessions, one called “Practical parallel programming with VS2010”, and one called “Patterns of parallel programming”. Both sessions were very popular, and generated a lot of discussions around the subject of parallel programming. I had discussions with some of the speakers as well, and they were very interested in this subject.

So what is next? First Öredev , where I plan to attend the Erlang programming day with Joe Armstrong, the creator of the language, and then the Meanwhile track on  Friday. After that TechEd Europe, where I will deliver 6 sessions, one of them called “The Future of Parallel Programming”. After that PDC, for a preconference day about “Patterns of Parallel Programming”, of course, and after that MCC09 an workshop on Multi Core Computing. So I will be quite busy. Why all that trouble? Because Parallel Programming is as inevitable as object orientation was 15 years ago, so we need to act soon.

Best regards,


Are you ready for cloud computing?

More and more people are talking about cloud computing, and what this will mean for the way we are doing business. But how do we prepare for that? One way is to understand what cloud computing is and what supporting technologies are available today. And to help you with that, SWENUG Stockholm will hold a free seminar on this  subject Thursday September 10, 2009. More information can be found on SWENUGs home page: www.senug.se