Data Point Once Upon A Time To Study The Performance Of Square Versus Jagged Arrays In NETnbspI Ported To C The

Data point:

Once upon a time, to study the performance of square versus jagged arrays in .NET I ported to C# the source code of one of the benchmarks mentioned in the article “The NINJA project. CACM 44(10): 102-109 (2001).”

I dug it out today and ran it against the latest version of Microsoft’s C# (7.10.3052.4), Mono (Release 0.25, June 25, 2003), and ran the Java version against J# (7.10.3052.0) and Java (1.4.2). I ran each test 3 times on a Motion Computer M1200 Tablet Computer (Mobile P3, 866MHz, 512MB RAM). Timing is done on either side of a function call, so this should not reflect differences in VM start-up time. Results in milliseconds:

Run # Part 1 Part 2
Microsoft C#
1 2754 3445
2 2744 3485
3 2794 3515
Mono C#
1 3435 3785
2 3385 3825
3 3395 3815
1 3375 3766
2 3435 3825
3 3365 3825
1 4517 4547
2 4546 4567
3 4517 4566

Source code for C#, here for J#, here for Java.

Kent Beck Interview

dW: What do you think about software quality?

Beck: I wish developers would consider the enormous consequences of their actions. When I got my driver’s license at 16, I was both elated and terrified; I had newfound freedom and responsibilities to go with it. Now, compare that feeling to when Microsoft sends me a new operating system. Do I have the same feeling? No, I think it’s going to screw up my life for months. For how many decades and for how many millions of people has that negative emotion been created around software. I think it’s such a shame we set our sights so low. Either you’re stuck with software that works the way it works because you don’t want to break it, or you get an upgrade that causes pain and anguish. I just want my stupid computer to work and it doesn’t. That’s not computing.

That we accept the status quo says such negative things about us as humans. If our laptops degrade at half the pace as before, that isn’t progress. Sucks less isn’t progress. What would it be like if you bought new software and you had that sense of increased responsibilities but also of infinite vistas? Our ambitions are so, so small compared to the opportunity.

He also talks about XP’s beginnings in 1996 at Chrysler. We’re using most of XP full time, and we’ll be using it all as soon as we have enough people. It’s really done wonders for us for project management, and I can’t wait to see how much it helps developer productivity when we have full time pair programming. via [The .NET Guy]