Slashdot Mirror


Implications of the Mozilla/Adobe Partnership

Fraggle writes "Recently the Mozilla Foundation and Adobe announced a partnership, working together on the next generation JavaScript/ActionScript JIT Virtual Machine. The Browser Den looks at what this means for the future of scripting in Mozilla, and how this partnership with Adobe may affect Mozilla's support for other technologies such as SVG." From the article: "On the Mozilla side the plan is to integrate to code with SpiderMonkey which is Mozilla's current JavaScript implementation that is written in C. This is needed because Tamarin is not a drop-in replacement for SpiderMonkey as it provides necessary features that are not available in Tamarin. The combined SpiderMonkey with integrated Tamarin should not have any problems with old JavaScript and should show a performance boost for most. However, skilled scripters are sure to find ways of optimising performance to get even more gains."

20 of 104 comments (clear)

  1. Amazing by BadAnalogyGuy · · Score: 2, Insightful

    Never in my wildest pre-crash dreams did I ever think that Javascript would become a respectable programming language.

    HTML either, but that preconception was crushed when I saw the money those art school dropouts were making.

    I just hope that they don't embed Flash player into the browser. That would suck royally.

    1. Re:Amazing by foniksonik · · Score: 2, Interesting

      "I just hope that they don't embed Flash player into the browser. That would suck royally."

      Don't disparage something you don't understand. It's like saying you hate all music cause you heard a few Britney Spears songs.

      Take a look at OpenLaszlo.

      --
      A fool throws a stone into a well and a thousand sages can not remove it.
  2. Say What? by AKAImBatman · · Score: 5, Insightful
    On the Mozilla side the plan is to integrate to code with SpiderMonkey which is Mozilla's current JavaScript implementation that is written in C.

    I presume the article means to say that the Tamarin engine will be coupled with SpiderMonkey's APIs? Because I don't see how you could "combine" two separate Javascript engines and expect a usable result. That would be like "combining" Windows and Mac OS X to make a better operating system. It doesn't quite work that way.
    1. Re:Say What? by BHearsum · · Score: 4, Informative

      Tamarin has a JIT compiler for faster execution of a lot of Javascript code. I imagine that is a big part of what is going to be intergrated.

    2. Re:Say What? by dsginter · · Score: 4, Funny

      That would be like "combining" Windows and Mac OS X to make a better operating system. It doesn't quite work that way.

      That sound you hear is the thousands of Microsoft Windows programmers kicking the dirt and going back to the drawing board.

      --
      More
  3. Re:Is Open Source finally ready for prime time? by October_30th · · Score: 2, Insightful

    To quote the real Kosh: "The avalanche has already started; it is too late for the pebbles to vote." ;)

    --
    The owls are not what they seem
  4. However, skilled scripters are sure to.. by Trigun · · Score: 2, Funny

    However, skilled scripters are sure to find ways of optimising performance to get even more gains."

    Like having Samy as your hero.

  5. First post ! by Rastignac · · Score: 2, Interesting

    With Tamarin, FireFox will be faster... "First post !" for sure. ;)

    --
    -- Rastignac was here.
  6. Good news by WickedLogic · · Score: 3, Informative

    At the ajax experience Brendan Eich spoke about this and without mentioning company names. The boost in performance in JS will cement web application's future and will bring javascript to the forefront even more as the power language that it is. Combine that with JSON and the module tag proposal, it should be some very interesting times.

  7. Lots and lots of implications by suv4x4 · · Score: 5, Informative

    For those who don't follow the project tightly, there are indeed a slew of implications.

    On the side of Mozilla, it means much faster, JIT JS engine, and since you know that Firefox's XUL depends heavily on JS to run, it may have big impact on the performance of Firefox as a whole and change the perception some have of Firefox as "bloated" and "slow".

    This is just a guess though. Here's what's really fun.

    Adobe is now working on its next generation "web platform", code named Apollo. Apollo's long term goals are to merge Flash, HTML/JS/CSS and PDF in one single "web platform", for internet applications.

    Apollo is not a browser, you can think of it sort of like the .NET or Java runtime. Or well, Adobe wants you to think that.

    The first version of Apollo is not going to merge all three technologies into one, but it'll integrate them to work together. This means, you can have Apollo app that is based on AJAX with flash in it. Or Flash project with HTML in it. Or, I guess, Flash with PDF in it.. All sorts of combinations.

    Adobe announced that they will NOT develop a browser on their own for Apollo, and that they are researching what to use.

    I'll be honest, I thought it's apparent they'll pick Opera. Opera is faster than Firefox, it's portable to mobile platforms (and this is important to Adobe), and both Macromedia and Adobe have rich partnership with Opera already.

    For example, Dreamweaver's WYSIWYG on Mac used to be Opera for a long time, and maybe it still is (on Windows, as far as I know, it's custom built).

    And even now, the entire help system of Adobe uses built-in Opera browser. Even their "Bridge" image browser, is in fast running on Opera.

    But now, as they contribute big chunks of Flash 9 (the script engine) to Mozilla, it means only one thing: Adobe has decided on a browser.

    Apollo will feature a version of Gecko with Tamarin for a script engine.

    Currently Adobe Reader (PDF) uses SpiderMonkey for its script engine, but when Tamarin is good enough to replace SpikerMonkey in Firefox, it'll be good enough to do it in Adobe Reader.

    Hence, one step forward towards Adobe's vision of unified HTML/Flash/PDF platform. Interesting times.

    1. Re:Lots and lots of implications by larkost · · Score: 5, Informative

      Actually, it has been anounced that Apollo will be based on WebKit, the framework that is behind Apple's Safari. They will be using the open source version rather than Apple's internal version, but the differences are minor.

    2. Re:Lots and lots of implications by suv4x4 · · Score: 2

      Actually, it has been anounced that Apollo will be based on WebKit, the framework that is behind Apple's Safari. They will be using the open source version rather than Apple's internal version, but the differences are minor.

      Interesting, didn't know that. It's strange that of all browsers on the market, Adobe will pick the least popular one, and one which needs a lot of work before it even runs on Windows (I know work is being done on it, but it's far from done).

    3. Re:Lots and lots of implications by mbwjr12 · · Score: 2

      Yes, but that work is minor compared to fixing Gecko's bloated code base. I'm sure Adobe chose KHTML (That is the real name WebKit) for the same reasons Apple did when building Safari: it's clean, it's fast, and it's standards compliant. I believe that KHTML (as Konqueror on KDE, and Safari on Mac) is the only engine currently passing the ACID2 compliance test. The guys on the KDE team have done an excellent job. In addition, Apple has already shown that it's not a big deal to port KHTML.

    4. Re:Lots and lots of implications by Tim+C · · Score: 2

      Apple has already shown that it's not a big deal to port KHTML

      Not to belittle their work, but they did "only" port it from one Unix-like system to another. Porting it to Windows will be rather more work, I suspect.

  8. Credible OSS response to .NET (on the desktop) by sreekotay · · Score: 4, Interesting

    Despite all the harping, .NET has been a huge success for Microsoft in Corporate/Server development. On the desktop, just as MS is afraid of Flash and Firefox (not coincidental or surprising they linked up) obviating the need for , I think Adobe, et al have been concerned about the potential impact of WPF, etc. for what they call the RIA space.

    Some early benchmarks comparing SpiderMonkey, what would become Tamarin, and JScript.NET. are on my site... interesting is that neither CLR, nor Tamarin provide a big boost when you use the features of JavaScript that make it more interesting than just plain old C. Wonder how much a real world boost this will be for the integration complexity? (i.e. is this another Netscape 6? Perhaps buckling down and fixing SpiderMonkey might serve better...)
    --
    graphically speaking

    1. Re:Credible OSS response to .NET (on the desktop) by laffer1 · · Score: 2, Interesting

      They might be able to improve the new combined code to execute faster. This whole thing sounds a lot like Java to me. It will be slow starting up and after a page is loaded, it can execute very quickly. Based on recent research for ecommerce sites, I suspect this may have a negative impact on Firefox adoption down the road. The point of JavaScript was to make a lightweight interpreted language that could glue together other components such as plugins, later java, flash and active x controls.

      I understand why some people like flash, but I don't understand why people support flash taking over. Macromedia and now Adobe support 99% of all browsers supposedly, but at the same time there are huge gaps in platform support. Its near impossible to have a new OS enter the market without support for Firefox, Flash and a slew of other things. What happens if Linux forks someday or gets so commercial the grass roots folks start over. Remember, the uniqueness of linux was that it was free. The idea of developing in an open environment started long before linux and shortly after linux was public we had 386BSD > NetBSD and FreeBSD. What if someone develops a miracle microkernel design that just works. Anything is a possibility and I think the open source community needs to take charge with Flash if we are going to push it on people. I'd rather go an SVG route where we have open source libraries for it already. A combination of SVG, and some other open source technologies could get us an equivalent to flash but it would need serious adoption to take off. Perhaps when people are tired of paying the adobe premium for Flash? To a windows developer, Adobe products are reasonable but to a Mac or OSS developer you can't beat free. As we are talking about flash as an application platform, xcode is a fair comparison here.

  9. Is Adobe/Macromedia losing it? by pubjames · · Score: 2, Interesting

    When Macromedia started, they made great tools. They looked at what professional web developers wanted, and made neat tools to fulfil their needs. Unfortunately, for a while now they have been operating in an entirely different manner - they have been deciding where they want the technology to go, and then trying to push tools that fulfil their vision onto web developers.

    This has meant that their core products, such as Dreamweaver and the Flash development application, have been rapidly becoming crappier. Dreamweaver is now annoying as hell to use, and does work well with some of the technologies that developers like to use (PHP, for instance) because those are not technologies Macromedia/Adobe what to promote. And for ages they have been trying to get developers to use Flash to develop applications, which just isn't happening.

    Personally, I think Macromedia/Adobe are going to suffer as developers reject their tools and start using open source ones.

  10. About SVG by supabeast! · · Score: 2, Interesting
    From TFA
    I've seen some theories on the Internet suggest that part of the deal with Adobe was to remove the native SVG support from Firefox effectively reducing the competition for Flash.


    There's no need for Adobe to make such a deal. Anyone who has tried using SVG on Firefox knows that the code renders so slowly as to be almost unusable, and lacks support for a tremendous number of SVG features. On top of that Adobe's own staff were always the big force behind SVG, now that Adobe has pulled out of SVG development its safe to say that SVG has no future outside of the tiny community of inkscape users.

    The only way I could see them removing SVG support would be if Adobe ever decided to open source the Flash player but even then I could imagine that this would not be a popular move as SVG is an open standard.


    Aside from the video codecs--which are no doubt entangled in far too many patent issues for Adobe to publish the standards--Flash is just as open as SVG, and it's a shame that open standards pundits refuse to stop pretending otherwise. It makes them sound just as stupid as the HD-DVD evangelists who pretend that HD-DVD is any less proprietary than Blu-Ray, and its hard to convince people that standards-based web development is important when this kind of garbage keeps getting spewed out.

    SVG will eventually get yanked from Firefox not because of sleazy deals between Adobe and the Mozilla foundation, but due to the W3C not being behind SVG, SVG not having enough developers, the majority of SVG content on the web being experimental projects, and lack of software support for animated SVG content.
    1. Re:About SVG by NoMoreNicksLeft · · Score: 2, Informative

      I can open up an .swf in notepad and see the source?

      I can inline flash elements in my (x)html page?

      I'm allowed to write my own viewer for it?

      BTW... Konqueror has good support for non-animated/non-scripted SVG already. Soon, it will fix those flaws as well. Webkit has about the same level of support, and there's a committment to make SVG a first-class image format for pages. Opera's support is stellar, including the animation/scripting parts. And Firefox isn't too shabby either.

      As far as I know, that's all 4 major web browsers, and all those others that are based on their engines. I doubt SVG is going anywhere, except up. Die flash, die.

  11. not so sure about SVG by sootman · · Score: 3, Informative

    I'm a huge fan of SVG. Not because it's a replacement for Flash, but because it's just XML, which means you can create data-based SVG images "out of thin air" with PHP or the scripting language of your choice. But now that Adobe has bought Macromedia (and with it, Flash) it looks like they're going to give up on SVG. I'm sure their apps will let you save as SVG, but they're going to quit supporting the viewer on 1/1/2008. And theirs was the dominant viewer. Mozilla has native support, and Safari is getting it, but that's nowhere near the adoption rate of MSIE or Flash.*

    I was really hoping that they'd go the other way--that with the purchase of Macromedia, they'd roll SVG support into the hugely popular Flash plug-in. I wish I were wrong, but my guess is that Adobe, just like MS or anyone else, would rather back a proprietary solution (that they own) than an open one.

    * and, the funny thing is, the MSIE/Adobe combination--on Mac and Windows--was the best. You could print a page with lots of embedded SVG images, and it worked! Safari with Adobe's plugin, or Mozilla with the plugin or natively, would print each image on a separate page, if at all. (Though I haven't tested FF 2.0 yet.) But MSIE/Adobe printed just as you saw on screen.

    --
    Dear Slashdot: next time you want to mess with the site, add a rich-text editor for comments.