Application.Crawl()

Most .NET developers are familiar with the standard entry point of a WinForms application:

Application.Run(new MainForm());

I’ve been finding recently that the name of this method is rapidly becoming outdated as modern Microsoft technology finds its way into more applications. Developers like myself can get the wrong idea about what this method actually does while skimming source code. Therefore, I respectfully propose that Microsoft obsoletes the Run method, and replaces it with something a little more true to form:

Application.Crawl(new MainForm());

This insight comes from my recent experience installing Expression Blend 3. I’d previously noticed that Microsoft applications seemed to be getting slower after installing the beta for Visual Studio 20101, but Microsoft has really taken the Blend installer to the next level.

Close to 100% of a single core was eaten up for the entire half-hour install process of Blend. The slowdown was so extreme that my mouse cursor skipped around the screen in 20 pixel increments as I made futile attempts to continue my other work. For the record, I’m running a Core 2 E8400 @ 3.00 GHz with 4 GB of memory.

Sus microprocessorius, more widely known as the common CPU hog, in its natural habitat

Fig. 1: Sus microprocessorius, more widely known as the common CPU hog, in its natural habitat

The good news is that Expression Blend itself seems to be very usable. Next week I promise to write about something more constructive.

1 VS 2010 is a beta release. Some performance improvements are bound to make it into the final product.

Posted on August 11, 2009 from Calgary

About

My name is Brandur. I'm a polyglot software engineer and part-time designer working at Heroku in San Francisco, California. I'm a Canadian expat. My name is Icelandic. Drop me a line at brandur@mutelight.org.

Aside from technology, I'm interested in energy and how it relates to our society, travel, longboarding, muay thai, symphonic metal, and the guitar.

If you liked this article, consider finding me on Twitter.