News for hackers. Stuff that matters.
Re:Microsoft wrestles with HTML5 vs Silverlight futures by kenjackson on Thursday September 09, 2010 @05:45PM (#1677058)
HTML 5 looks more and more like the Win32 API to me (or x86 assembly). At first everyone will use it directly. But people will quickly see that its a bear to be productive with it. Then you'll quickly see new frameworks built over it.

I wouldn't be surprised if Silverlight eventually simply targeted HTML 5. You wrote your code in Silverlight and out comes an HTML 5 page.

I'm not really sure what WPFs future is. It's great technology, but the desktop is increasingly niche.

Re:Microsoft wrestles with HTML5 vs Silverlight futures by bad_user on Thursday September 09, 2010 @06:04PM (#1677122)
> I wouldn't be surprised if Silverlight eventually simply targeted HTML 5.

No, that's not possible, as HTML5 is pretty incompatible with Silverlight's selling points.

Besides, the article is flamebait ... Silverlight will be the native API people are going to use for building native-clients on Windows desktops / Windows mobile phones. Add to that list portability Symbian, MeeGo and probably Android.

Silverlight also has a more efficient VM than Flash or the various mobile-browsers, so if they play this card right, it could actually be efficient when running on mobile phones ... windows mobile 7 is actually using Silverlight for its UI ... and from early reports, the interface is snappy.

Re:Microsoft wrestles with HTML5 vs Silverlight futures by kenjackson on Thursday September 09, 2010 @06:12PM (#1677141)
Why is it not possible to target HTML5 from Silverlight? You may have to tweak Silverlight some, but it seems doable?

You map the styles to CSS. The Xaml to HTML (I'd love to have Silverlight layout in HTML). Although the Xaml also includes stuff that you need to map to Javascript as well. The C# code gets mapped to Javascript.

You'd have to map all of the things like databinding, DeepZoom, and animation specially crafted Javascript. Audio, video, WCF, may have to be scaled back for targeting HTML5. But then you can have two versions "Silverlight HTML5" and "FullPower Silverlight".

I'm sure there is tons I missed. But what do you think in particular can't be mapped from Silverlight to HTML?

Re:Microsoft wrestles with HTML5 vs Silverlight futures by bad_user on Friday September 10, 2010 @06:17AM (#1678402)
I never picked up development on Silverlight because the Linux client (Moonlight) is unusable, but its advantages are ... an efficient VM (dotNet's CLR) with real multithreading capable of running any .NET language on top, video DRM and adaptive streaming and ... this is important ... consistency between (supported) browsers and OSes.

I know normal people don't care about the first point ... but because the VM is efficient, it might just be that Silverlight is actually efficient on mobile phones (versus Flash) ... a Symbian version is already available, a MeeGo is in the works, if they add Android to that list + Windows mobile 7 ... then you've got a winner (if only they don't fuck up the implementation as Adobe did with Flash).

From Microsoft's point of view Silverlight also has another advantage ... they can add to it whatever they want. Few people complained when they added COM interoperability. They can't do that to web standards without bad publicity (though this didn't bother them in the past).

Re:Microsoft wrestles with HTML5 vs Silverlight futures by deno on Thursday September 09, 2010 @07:16PM (#1677294)
Microsoft Live Labs is kind of doing this with Volta.
Re:Microsoft wrestles with HTML5 vs Silverlight futures by bad_user on Friday September 10, 2010 @06:05AM (#1678378)
Volta is dead.
Re:Microsoft wrestles with HTML5 vs Silverlight futures by deno on Friday September 10, 2010 @06:40AM (#1678450)
Maybe? Well I don't know politics, but they did some solid work that ended up with a paper. Since Volta was not a product but an experiment I would suggest it doesn't make it unlikely, that research could be used to create similar product in the future. It seems potentially like a good fit.
Re:Microsoft wrestles with HTML5 vs Silverlight futures by seltzered on Thursday September 09, 2010 @09:33PM (#1677569)
"I'm not really sure what WPFs future is. It's great technology, but the desktop is increasingly niche."

This scares me as someone who likes the idea of WPF, considering alternatives are javafx (not open either, but not being actively updated), and for, only recently adobe flex.

What do one use when they want to make a desktop app with decent ux that needs to talk to hardware? Go back to using java/swing? Native client (hah!)? Flex only started to support native processes a few months ago.

Ideally I'd love to see the ideas behind WPF open up a bit if support diminishes.