3 ms·
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
by kenjackson 16y ago
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?
- deno 16y agoMicrosoft Live Labs is kind of doing this with Volta.
- bad_user 16y agoVolta is dead.
- deno 16y agoMaybe? 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.
- bad_user 16y agoI 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).