Microsoft: Silverlight Demo Was in Jscript, Not C#
During a presentation to analysts on Tuesday in Seattle, as BetaNews reported yesterday, Microsoft technical product manager Brian Goldfarb, standing beside his boss, Chairman Bill Gates, demonstrated an application produced for Major League Baseball, showing how fans can keep track of multiple games from stand-alone consoles that include graphics of the current diamonds, and can show multiple video clips simultaneously. Gates cited the demo as an example of what could be achieved by Silverlight developers who move beyond AJAX, which he described as "problematic" and "very complex."
But a spokesperson for Microsoft on behalf of Goldfarb told BetaNews today that, as it turned out, the specific MLB demo shown Tuesday was actually "written in Jscript," and was not the same demo that was written "entirely in C#" and described by Microsoft developer Robert Unoki on his personal blog this week. That C# demo was tailored to be portable so that it runs with .NET Compact Framework, which Unoki is helping to produce for Windows Mobile 6.
The problem emerges from the fact that there are two Silverlight versions being tested simultaneously. As a result, we learned, there are two MLB demos whose basic functionality may be identical:
The first supports the Silverlight 1.0 beta, which is the more stable edition that deploys a subset of .NET on Windows, Mac OS X, and Linux machines, and which supports Microsoft's ASP.NET AJAX. This is the version of Silverlight that Goldfarb showed to analysts, the spokesperson confirmed with him. It can also be seen in this video from a MIX '07 session late last month.
The second supports the Silverlight 1.1 alpha, which enables application development in C# as well as the other, more strictly-typed languages that .NET supports. That alpha is also being tested with the .NET Compact Framework, which is the platform for the demo on Unoki's blog.
Functionally, the demos are identical, although the version for the 1.1 alpha is currently the one that scales down its graphics to enable deployment on handsets. But it was the 1.0 beta edition that Goldfarb and Gates showed off to developers on Tuesday, arguably a very rich and functional example of getting lost in baseball on one's computer - about as "immersive" as it gets.
So just what is it about "so-called" AJAX that's complex and problematic, as Gates described it, if it yields such rich and rewarding results? In order that we don't appear to have taken Gates' comments out of context, here are his paragraphs on the subject, taken from the official Microsoft transcript, in their entirety. They begin at the moment Goldfarb's Silverlight MLB demo - again, as we now know, using AJAX - concludes:
What's also important about Gates' comments is that he refers to a single Silverlight runtime, which will hopefully be the case. But also - perhaps borrowing a page from Sen. John Edwards' "Two Americas" - he refers to two communities: the "classic developer community" to which Gates himself reputedly belongs, and a second group of Web designers to which his company now markets the Expression suite.
Nearly everyone agrees that, in order for Silverlight to succeed, it must appeal to both of these groups; the question is, though, whether it's necessary to migrate one group into the other, as Microsoft appears to do whenever it touts C# as necessarily better.
The day after this particular presentation, Microsoft CEO Steve Ballmer gave remarks to a software conference in Santa Clara that, while briefly touching on Silverlight, seemed much more supportive of AJAX as a cross-platform, interoperable technology.
"Sometimes the most important thing as you're building out a new Web site cum software product is that you're ubiquitous," Ballmer stated. "The most important thing is touching the most number of people. And you get into issues like cross-platform and making sure that everybody on the planet can participate in your software experience.
"We started out with just good old HTML, a little bit now we have things like AJAX as a client-side technology to deliver. We announced our Silverlight technology," Ballmer continued. "Adobe has Flash. But people want the richness of the client experience but with the ubiquity that you get for some of these Web-site software-plus-service experiences."
Ballmer's remarks appeared to support what we now know to be the facts: that Silverlight + AJAX can indeed be responsible for the "immersive experiences" which product managers have successfully demonstrated, and that there may be no need to play down AJAX in favor of a "classic" alternative.
Yesterday, Ballmer also referred to "Silverlight" and "Silverlight Extended" as separate products, which may be an indication that the alpha and beta tests of Silverlight may fork into two versions of the product suite.
2:40 pm 10 May 2007 - In response to our query asking Microsoft to explain the difference between the Silverlight experience in AJAX and the Silverlight experience in C#, and whether Chairman Bill Gates may have been confused about which demo his product manager was actually giving, the Microsoft spokesperson who first informed us the Silverlight demo was in Jscript told us that the difference was essentially something you can feel, even if you can't really see it.
"The difference is one of execution time," the spokesperson told BetaNews. "Dynamic languages tend to perform slightly worse than static languages even with JIT'ing [just-in-time compilation]. However, the performance degradation would be slight vs. C#. However, compared to AJAX/JScript the performance of managed code (including dynamic languages) will be much greater. That is C# vs. AJAX is 1000x faster in preliminary testing."
The spokesperson admitted to not having hard and fast technical figures on hand, so the "1000x" number here is probably an estimate.