Slashdot Mirror


New Microsoft Silverlight Features Have Windows Bias

An anonymous reader writes with this quote from a story at El Reg about an early look at the Silverlight 4 beta: "There are ... major changes to Silverlight's out-of-browser functionality, a loose equivalent to Adobe Systems' AIR runtime for Flash. Even when fully sandboxed, which means having the same permissions that would apply to a browser-hosted Silverlight applet, out-of-browser applications get an HTML control, custom window settings, and the ability to fire pop-up notifications. ... Unfortunately, some of these features are not what they first appear. The HTML control in Silverlight 4 is not a new embedded browser from Microsoft, but uses components from Internet Explorer on Windows, or Safari on the Mac, which means that the same content might render differently. The HTML control only works out-of-browser, and simply displays a blank space if browser-hosted. Clipboard support is text-only in the Silverlight 4 beta, though this could change for the full release. More seriously, COM automation is a Windows-only feature, introducing differentiation between the Mac and Windows implementations."

32 of 251 comments (clear)

  1. COM Automation = ActiveX by Anonymous Coward · · Score: 3, Informative

    For those not up to speed on the windows acronyms, COM automation is just another word for ActiveX. It's exactly the same thing. http://en.wikipedia.org/wiki/OLE_Automation#cite_ref-5

    1. Re:COM Automation = ActiveX by Kratisto · · Score: 5, Funny

      No it's not. ActiveX was the source of countless security bugs. COM Automation is new and sexy and contains a TLA.

      --
      Conscience is the inner voice which warns us that someone may be looking.
    2. Re:COM Automation = ActiveX by jpmorgan · · Score: 3, Insightful

      Close, but not quite. ActiveX is a COM component that implements the IDispatch interface. IDispatch is a 'meta' interface that allows dynamic binding to COM objects, rather than the purely static binding that COM defines, allowing COM objects to be called from dynamic languages (like JavaScript). From a purely technological perspective, it's quite slick really, and if you've ever played around in Win32 Python you'll know what I mean.

      The security problems with ActiveX was that Microsoft exposed these low-level interfaces to untrusted websites through JavaScript, opening up an enormous attack surface (as now many ActiveX objects on your system, which were never designed with security in mind, were being called from untrusted JavaScript and running under local user permissions). Worse, was allowing websites to request the installation of ActiveX objects themselves. So yeah.... clever technology but a TERRIBLE use.

  2. History by WiiVault · · Score: 4, Insightful

    Anybody who didn't see this coming when MS came out hard about the "amazing cross compatibility besting Adobe!" a few years ago is insane. This is the same old shit they have pulled time and time again. At least they let the cat out of the bag before this needless plug-in gained any real traction. And no I'm no Flash fan. Adobe treats us like dogs too.

    1. Re:History by MightyMartian · · Score: 4, Insightful

      Who the fuck cares? Just how many people actually use Silverlight anyways? They might as well release "Steve Ballmer's Excrement Beta 4 - Now With More Cherry Flavoring!"

      --
      The world's burning. Moped Jesus spotted on I50. Details at 11.
    2. Re:History by Ethanol-fueled · · Score: 5, Insightful

      Mod parent up, you fucking' philistines. Silverlight is the Zune of application frameworks.

    3. Re:History by Anonymous Coward · · Score: 5, Insightful

      Any web page plugin that exists outside of the normal flow of browser control and navigation history is a bad idea. Perhaps HTML5 will go some way to addressing this, which Microsoft will presumably get round to working towards some time around IE12 at their current rate of non-progress.

      One hilarious comment on MSDN about this, to paraphrase, was that is was "unfair that Microsoft was expected to keep modifying its browser to account for all these new standards competitors keep coming up with." and that they should "stop making new standards and give Microsoft a chance to implement existing ones." Or as I like to think of it, "stop the world, Microsoft needs to catch up."

    4. Re:History by mR.bRiGhTsId3 · · Score: 3, Informative

      So Netflix, the Olympics and the US Presidential Inauguration aren't high profile enough for you? Just because you have a seething inner hatred towards MS doesn't mean no one uses their technology.

    5. Re:History by coolsnowmen · · Score: 3, Informative

      I believe netflix instant viewing is written on top of silverlight.

    6. Re:History by Anonymous Coward · · Score: 3, Insightful

      Two singular events that are long over and a single company don't constitute widespread use.

    7. Re:History by tthomas48 · · Score: 3, Informative

      Those are high profile, but use kind of drops off after that. Sharply.

      It's great if you want to stream DRM content and don't want to use flash. Otherwise the java and flash plugins are more widely installed for the stuff that silverlight's trying to do. They're late to the party and except for DRM they don't really have a compelling story for why someone would want to use their technology.

    8. Re:History by Frosty+Piss · · Score: 3, Funny

      Who the fuck cares? Just how many people actually use Silverlight anyways?

      "Back in the day" when Netscape was king, how many people used IE? Microsoft will keep pounding away with Silverlight to the large "enterprise" clients, and eventually, one day, it will pass Flash. At that point, AOL will merge with Adobe, and it'll be all over.

      --
      If you want news from today, you have to come back tomorrow.
    9. Re:History by Nerdfest · · Score: 3, Insightful

      A cross platform framework having platform specific features is hardly superior. I had it installed, but no longer.

    10. Re:History by icebraining · · Score: 3, Insightful

      *And* make an editor like the Flash suite. That's one of the main reasons Flash succeeded: it's easy to use by designers, instead of coders. That's also why most Flash apps/websites suck.

    11. Re:History by Anonymous Coward · · Score: 3, Interesting

      We should be boycotting the Olympics then. This is unacceptable.

    12. Re:History by rtfa-troll · · Score: 3, Interesting

      That may well be true; the Olympics committe doesn't feel it is responsible to anybody and will do anything for money. However; if we judge from history the complaints and problems this will raise will help set back Silverlight acceptance. After the way it was done last time nobody sensible would use silverlight for anything. In fact I'd suggest everybody get ready; set up a system which doesn't work with silverlight and then complain about it, but most of us on Slashdot probably already have several and it really isn't needed anyway.

      --
      =~ s,(.*),<sarcasm>$1</sarcasm>,g if any_point_you_wish();
    13. Re:History by Azheim · · Score: 5, Informative

      Unfortunately, some of us have to.

      I'm a med student, and many of my lectures are viewed and reviewed at home via MediaSite, a Silverlight-based lecture management system from Sonicfoundry. While our lectures do play in Firefox, Safari, and Chrome with the Silverlight plugin, advanced features (such as the ability to play the lecture at whatever speed you wish) are only available in Internet Explorer. The crippling of Silverlight in competing browsers has forced me to return to IE.

    14. Re:History by McBeer · · Score: 3, Informative

      Try developing some stuff in Silverlight and see if you can claim using the above technologies is anywhere near as fast/easy/reliable/etc with a straight face. XHTML+CSS is a huge pain in the ass compared to Xaml. Javascript is slower, harder to maintain, and has less features then C# + .Net. I've been a Silverlight developer for a year now and can't believe I used to use anything else.

      --
      Hikery.net - The best hiking site ever. Made by yours truly.
    15. Re:History by PitaBred · · Score: 4, Interesting

      I can't wait for HTML5 to start being widely implemented. Get away from both of them.

    16. Re:History by mysidia · · Score: 4, Insightful

      It's not widespread use when Microsoft is giving you freebies and (in effect) paying you/making deals that cost them money, to use the technology, just so more people will be required to install the software and become aware of it.

      IOW, the Netflix and Olympics using silverlight are very likely specific efforts by MS marketing/sales.

      With the right freebies from MS (where using Flash costs something), or with the right kickbacks/sponsorships/friendly meals bought for the right people to discuss silver light.....

      IOW: these few high profile sites using it don't indicate widespread use, only very strong efforts by MS.

    17. Re:History by Fred_A · · Score: 3, Informative

      Try developing some stuff in Silverlight and see if you can claim using the above technologies is anywhere near as fast/easy/reliable/etc with a straight face. XHTML+CSS is a huge pain in the ass compared to Xaml. Javascript is slower, harder to maintain, and has less features then C# + .Net.

      Except that those other "painful" technologies let other people actually use the apps published to the Web without necessarily having to invest in a PC and/or Windows. The purpose of Web sites was to have a universal system of interconnected data. Not to create a proprietary framework.

      Even if Silverlight was the next best thing, the fact that it only works in Windows, marginally works in MacOS and just doesn't work at all elsewhere just rules it out.

      --

      May contain traces of nut.
      Made from the freshest electrons.
  3. New Silverlight features have Windows bias? by Anonymous Coward · · Score: 4, Funny

    Pope discovered to be Catholic

    Bears recorded shitting in woods.

  4. Anything about Linux? by Edmund+Blackadder · · Score: 4, Insightful

    I really want to run Silverlight in Ubuntu! Well, no that was sarcasm, but Linux should be mentioned when one talks about cross comparability. We should not allow the meme to emerge that the only options are Mac or windows.

  5. COM is windows only... by wandazulu · · Score: 4, Interesting

    ...thank God.

    Only Microsoft has the peculiar genius that allows them to take a relatively straightforward concept (reference counting/smart pointers) add a totally over-the-top, incomprehensible library that was designed around the limitations of the broken template support in VC6 (ATL), then totally abandon it for "teh new shiny" because you lost a court case against Sun (.net).

    I have written a *lot* of code in ATL, and I regret practically every moment of it; I liked the idea of COM/ActiveX, it's actually a really cool concept, and it even seemed to have an awesome future (all these COM objects that could talk to each other...Excel could control my toaster via my custom ActiveX dll) but suddenly it became all about the web and the era of a component-laden operating system ended before it really ever began. So for that I slogged through a bunch of ATL books, got to the point where I thought I knew how it all worked, and then all Microsoft wanted talk about was C# and .net.

  6. Quick, someone notify Miguel! by Anonymous Coward · · Score: 3, Interesting

    Obviously this is some kind of mistake. Miguel assured all us Linux users that Microsoft was a changed company, they would NEVER do something like this! Surely Moonlight would be 100% compatible with Silverlight and Linux would be considered a tier 1 platform!

    He wouldn't have lied, would he?

  7. Microsoft pollution at its best by jeanph01 · · Score: 4, Interesting

    Each time I read about silverlight I get angry. Why won't Microsoft invest time and energy making IE html5 compliant instead of promoting this f*** product that nobody wants anyway. I mean, look at the competition for god sake. IE is stuck with Javascript 1.5 since November 2000. Man we are now 9 years since Ms has updated its Javascript engine. Firefox, Chrome, Safari, name it, all have javascript support almost if not ready for ECMAScript 5.

    What is comforting in a way is the low deployment of silverlight. Google can give us a slight idea : http://www.google.com/insights/search/#q=adobe%20flash%2Cmicrosoft%20silverlight&date=today%2012-m&cmpt=q
    I know at least that it is not deployed at work : 20,000 less pcs for Microsoft + the 2 mine at home.

    1. Re:Microsoft pollution at its best by cbhacking · · Score: 3, Interesting

      I don't know where they are in terms of language support (not great, if Acid3 is any indication), but IE8's JavaScript engine was a massive step up from IE7's and an even more massive step up from IE6. It's more standards-compliant (i.e. less incorrect behavior), implements more of the spec (not necessarily any of the newest changes to the spec, but more of the language as a whole), and is much, much faster than before.

      Don't get me wrong, it's still way behind the other big-name browsers, but claiming 9 years since MS updated the javascript engine is a bald-faced lie.

      --
      There's no place I could be, since I've found Serenity...
  8. MS releases Silverlight 4, nobody cares by David+Gerard · · Score: 5, Funny

    Microsoft today announced the release of version 4.0 of its world-beating Silverlight multimedia platform for the Web. As a replacement for Adobe’s Flash, it is widely considered utterly superfluous and of no interest to anyone who could be found.

    “We have a fabulous selection of content partners for Silverlight,” announced Microsoft marketer Scott Guthrie on his blog today. “NBC for the Olympics, which delivered millions of new users to BitTorrent. The Democrat National Convention, which is fine because those Linux users are all Ron Paul weirdos anyway. It comes with rich frameworks, rich controls, rich networking support, a rich base class library, rich media support, oh God kill me now. My options are underwater, my resumé’s a car crash, Google won’t call me back. My life is an exercise in futility. I’m the walking dead, man. The walking dead.”

    Silverlight was created by Microsoft to leverage its desktop monopoly on Windows, to work off the tremendous sales and popularity of Vista. Flash is present on a pathetic 96% of all computers connected to the Internet, whereas Silverlight downloads are into the triple figures.

    “But it’s got DRM!” cried Guthrie. “Netflix loved it! And web developers love us too, after all we did for them with IE 6. Wait, come back! We’ll put porn on it! Free porn!”

    Similar Microsoft initiatives include its XPS replacement for Adobe PDF, its HD Photo replacement for JPEG photographs and its earlier Liquid Motion attempt to replace Flash. Also, that CD-ROM format Vista defaults to which no other computers can read.

    In a Microsoft internal security sweep, Guthrie’s own desktop was found to still be running Windows XP.

    --
    http://rocknerd.co.uk
  9. Speaking of Bias.. by Dragonshed · · Score: 5, Interesting

    From TFA:

    Unfortunately, some of these features are not what they first appear. The HTML control in Silverlight 4 is not a new embedded browser from Microsoft, but uses components from Internet Explorer on Windows, or Safari on the Mac, which means that the same content might render differently. The HTML control only works out-of-browser, and simply displays a blank space if browser-hosted.

    The difference in rendering between IE on Windows and Safari on Macosx is a reality, whether silverlight is involved or not. The purpose of the HTML Control is to allow scenarios dependent on the HTML Bridge, the part of silverlight that blurs the lines and allows communication between the html dom + javascript and C# code, to run correctly when the app is hosted out of the browser. It's essentially a crutch to allow developers that want to use siverlight a way to leverage existing investments in web application development.

    More seriously, COM automation is a Windows-only feature, introducing differentiation between the Mac and Windows implementations. Since cross-platform Mac and Windows is a key Silverlight feature, it is curious that Microsoft has now decided to make it platform-specific in such an important respect. Microsoft Office and parts of the Windows API have a COM interface, so access to COM makes Silverlight a much more capable client.

    This is a fairly obscure feature, and I'm fairly surprised that it was included at all, but doubt it'll be of use to the vast majority of current and future silverlight developers out there. Like the html control, it's a crutch, to allow developers that want to use silverlight a way to leverage existing investments. The mantra I've heard out of the silverlight team is to focus on unblocking customer scenarios (scenarios they cannot unblock themselves) without compromising the overall feature goals (like keeping the runtime download small).

    Nevertheless, Silverlight has crossed a threshold. It is now a runtime that has extended functionality only on Windows. That will not help Microsoft win developers from Adobe AIR, which has the same features on both Mac and Windows.

    I don't think it'll matter. Any developer that is seriously considering using silverlight over Adobe AIR, but is then persuaded not to because Silverlight's Trusted Out-Of-Browser scenario has COM support on Windows and not on Mac is "Doing It Wrong". It's an edge case feature that doesn't affect Silverlight's over all "Cross-Platforminess".

    Flame On.

  10. Features? by shutdown+-p+now · · Score: 5, Insightful

    So far, the only feature in TFS that I can see as having "Windows bias" is ActiveX support. Which is kinda not surprising (I mean, who doesn't know that ActiveX is "that evil Windows thing" - even people who don't even understand what it is and how it works?). Qt also has an ActiveX support module, and it doesn't make it any less cross-platform - no-one forces you to use it. Same applies here.

    1. Re:Features? by cbhacking · · Score: 4, Insightful

      Thank you for a voice of sanity and reason. The fact that you can embed COM objects in the latest version of Silverlight does nothing to harm Silverlight on other platforms; it simply means that if you (as a developer) are willing to limit yourself to Windows users, you can now embed third-party controls written in C++ into your desktop app (what a bizarre concept, I know...) If you want portability, you don't use this feature (any more than if a Java developer wants portability, he doesn't rely on a native code module that does registry I/O).

      --
      There's no place I could be, since I've found Serenity...
  11. Silverlight was supposed to be a departure from CO by localtoast · · Score: 3, Interesting

    The full .Net framework has a lot of hacks to support COM. Your STA running managed code can get preempted at any time to Release COM objects behind RCWs that get garbage collected. This can cause interesting stress bugs. It gets even worse when an RCW around an STA gets finalized on the finalizer thread. That blocks the finalizer thread, because it waits for .Net to Release the COM object on the original STA thread. If the STA thread is in a wait state, you can hang the finalizer thread. Another big issue is around supplying alternative credentials for DCOM. .Net has no exposure of the CoCreateInstanceEx API that allows you to specify alternative credentials. Even if you wrap it yourself, you have to make sure you call CoSetProxyBlanket before you do any calls - and .Net does QueryInterface under the hood for you, and you have to make sure CoSetProxyBlanket is called again, then the simple programming interface of .Net becomes more of a hindrance than a help. They were supposed to get away from COM in the Silverlight versions. Now the waters are even muddier, because WPF is still supported on the Full version of the CLR.