Feeds

Microsoft polishes the Silverlight

Still to prove itself against Flash

Reducing security risks from open source software

MIX07 Despite the early batch of criticism that Microsoft’s Silverlight has already generated, there is still much to interest applications developers in its arrival as a beta product, as well as issues for them to ponder, not least being whether Flash is still the better option for now.

The key interest, particularly in Microsoft’s world, is that the Common Language Runtime (CLR) is going cross-platform. That is the big news at Microsoft’s Mix07 conference, where delegates have seen demos of .NET code running on both Windows and the Mac, hosted in a future version of Silverlight, the video streaming browser plug-in now in beta.

Silverlight 1.0, which relies on JavaScript in the browser, is set for full release in the summer. No date has been announced for Silverlight 1.1, however, and this will include the CLR, though an alpha version is available for download. It will make Silverlight a viable alternative to Adobe’s Flash for rich browser-hosted applications.

The announcement itself is no surprise, but many of the details are new and worth considering from the developer point of view. For example, cross-platform in this context means Windows, Mac, and in due course Windows Mobile. Microsoft appears uninterested in Linux, though program manager Keith Smith told me “there is nothing to preclude it.” There is talk of supporting other mobile platforms such as Symbian in future.

The CLR will be the same as that used for the full version of .NET, including JIT (Just-in-time) compilation to native code, though only a small portion of the .NET Framework class library will be included. The cut-down library will support XML web services, language integrated query (LINQ), and a set of user interface controls. Developers will use Visual Studio combined with the Expression tools to design graphics and write code in Visual Basic or C#. The graphics will be exported to XAML, while the code gets compiled to .NET byte code for execution on the client. Silverlight will also include a dynamic language runtime layer, for JavaScript, Python, dynamic Visual Basic, and eventually Ruby.

According to Smith, the Silverlight-hosted CLR will have no access to local storage beyond what the browser chooses to cache, and will be sandboxed to disallow invocation of native platform APIs. Silverlight runs only in the browser, so there is no cross-platform equivalent to Adobe’s Apollo, which uses the Flash runtime for desktop applications.

Microsoft is so keen to see Silverlight used that it will host the content for free. Silverlight streaming is a “companion service” that streams media content from Microsoft’s servers, supported by its global content delivery network. The free service allows videos up to 10 minutes long, in qualities up to a DVD-like 700 Kbps, occupying up to 4GB of total space, and serving up to one million minutes per month. Beyond that, there will a fee-based or advertising-supported service.

Silverlight cannot succeed on bribery alone, however. Its strong points are high quality video, and smooth integration between design and development tools in Expression and Visual Studio. Existing .NET developers will get an easy route to browser-hosted cross platform applications. That said, Silverlight 1.1 with CLR support is only in alpha, implying a lengthy wait before full release.

Adobe is ahead with its Flash runtime, which already has JIT compilation and a version of Javascript that is nearly as powerful as C#. Microsoft will also struggle to win over designers currently wedded to Adobe’s tools and in many cases running them on the Mac rather than Windows. Still, the quality of the demonstrations here at Mix shows that there is now real competition in this space. ®

The Power of One eBook: Top reasons to choose HP BladeSystem

More from The Register

next story
NO MORE ALL CAPS and other pleasures of Visual Studio 14
Unpicking a packed preview that breaks down ASP.NET
Captain Kirk sets phaser to SLAUGHTER after trying new Facebook app
William Shatner less-than-impressed by Zuck's celebrity-only app
Apple fanbois SCREAM as update BRICKS their Macbook Airs
Ragegasm spills over as firmware upgrade kills machines
Cheer up, Nokia fans. It can start making mobes again in 18 months
The real winner of the Nokia sale is *drumroll* ... Nokia
Mozilla fixes CRITICAL security holes in Firefox, urges v31 upgrade
Misc memory hazards 'could be exploited' - and guess what, one's a Javascript vuln
Put down that Oracle database patch: It could cost $23,000 per CPU
On-by-default INMEMORY tech a boon for developers ... as long as they can afford it
Google shows off new Chrome OS look
Athena springs full-grown from Chromium project's head
Apple: We'll unleash OS X Yosemite beta on the MASSES on 24 July
Starting today, regular fanbois will be guinea pigs, it tells Reg
prev story

Whitepapers

Top three mobile application threats
Prevent sensitive data leakage over insecure channels or stolen mobile devices.
Implementing global e-invoicing with guaranteed legal certainty
Explaining the role local tax compliance plays in successful supply chain management and e-business and how leading global brands are addressing this.
Boost IT visibility and business value
How building a great service catalog relieves pressure points and demonstrates the value of IT service management.
Designing a Defense for Mobile Applications
Learn about the various considerations for defending mobile applications - from the application architecture itself to the myriad testing technologies.
Build a business case: developing custom apps
Learn how to maximize the value of custom applications by accelerating and simplifying their development.