Archive

Archive for the ‘C#’ Category

Revisiting C#

July 7th, 2008

After extensively programming in Ruby for almost two years, I am required to do something non-trivial in C# recently. Several years passed since last time I wrote code in C# days and nights. Good old days. These days I’ve been refreshing my memory and picking up my C# skills. I’m feeling good: the language has evolved a bit but not so much. I’m confident that I will be productive in a few days and proficient in it probably after a few weeks.

The application I’m working on is a general server-side application, which is multi-threaded, consuming a web service, talking to a database, providing a SOAP web service, etc. It appears very likely to be Network bound and database bound. Async I/O seems the natural way to go. Whatever, let’s wait and see.

In contrast to Ruby, C# perfors much better and less memory-hungry, I tend to take C# as my choice of server-side programming, especially for heavy-lifting stuffs. That doesn’t mean I give up Ruby yet, I still need to take out some time to check out EventMachine.

James C#