Slashdot Mirror


Introducing JITB — a Flash Player Built On the JVM

MBCook writes "Joa Ebert has started working on a new program called JITB. Announced in a talk at FITC San Fran, it's a Flash player written to use the Java JVM to run ActionScript, and in a simple graphics test case (making 1 million calls to flash.geom.Point) was 30x faster than Adobe's Flash player. There is an impressive demo video on YouTube showing the point test."

126 comments

  1. Ironically... by e065c8515d206cb0e190 · · Score: 1, Interesting

    ... viewing that video requires Flash. If the purpose is to avoid Adobe Flash (as I do) the least they could have done is post it as WebM.

    1. Re:Ironically... by Anonymous Coward · · Score: 0

      It's even more ironic that something called Flash is the slowest of its kind. Seriously, is there anything comparable that's actually slower than Flash?

    2. Re:Ironically... by The+Salamander · · Score: 2, Informative

      Also available via html5/h.264:

      Enable html5 playback @ http://youtube.com/html5

    3. Re:Ironically... by microbee · · Score: 4, Interesting

      Yes, HTML5.

      Try to watch Youtube on a laptop with a really slow wireless connection. Then switch to an iPad.

    4. Re:Ironically... by Anonymous Coward · · Score: 0

      Javascript

    5. Re:Ironically... by Anonymous Coward · · Score: 0

      I'm enabled, yet when going to that video page it still requires flash. Am I missing something?

    6. Re:Ironically... by Anonymous Coward · · Score: 0

      The purpose of a Flash Player is not to avoid Flash... duh...

    7. Re:Ironically... by dave420 · · Score: 1

      HTML5.

    8. Re:Ironically... by Kilrah_il · · Score: 3, Funny

      An African Swallow... or a European one, I don't remember which one is slower... WHAAAAAAH (thrown into cliff).

      --
      Whenever in an argument, remember this.
    9. Re:Ironically... by Anonymous Coward · · Score: 4, Informative

      You're almost certainly going to get modded into oblivion for question His Holiness Steve Job's HTML5, but it's worth pointing out that you're absolutely correct, and it's because Flash allows for bandwidth-sensitive downloads and HTML5... doesn't.

      Basically, a Flash app can start streaming a movie and see how fast it's connecting at. If it's connecting too slowly, it can switch in mid-stream to a lower bandwidth stream and continue playing as if nothing happened.

      HTML5 can't do that.

      Strangely enough, QuickTime can do this automatically. But QuickTime isn't HTML5, and so if you're serving up an MP4 file so that it plays in both Chrome and Safari, well, you won't get that feature. You have to create the special QuickTime specific index MOV file, and that can only be done using QuickTime Pro.

      Which, incidentally, is what you're "supposed" to do when serving content for the iPad and iPhone.

    10. Re:Ironically... by robmv · · Score: 1

      YouTube is providing a new embedding template (at least testing it) that is just an iframe, people still are using the old (stable) way to embeed youtube videos

    11. Re:Ironically... by Anonymous Coward · · Score: 0

      Why are you so sure HTML5 can't do that? Sounds like it's easily implementable in javascript however I'm sure that it DOES do this is provided with more then one video fall back stream.

    12. Re:Ironically... by Jesus_666 · · Score: 1

      Then again, Flash doesn't improve with faster connections. At least not on non-Windows OSes.

      I'm really hoping that at one point someone releases a runtime that a) can compete with Adobe's and b) has decent video performance on all OSes.

      --
      USE HOT GRITS WITH STATUE OF NATALIE PORTMAN (NAKED AND PETRIFIED)
    13. Re:Ironically... by jellomizer · · Score: 1, Informative

      I am not sure why flash is considered so slow for many of you.

      I am using a laptop from 2006 and I never had any real speed issues, that is unless I have a bad connection nor have I noticed it justs sucking up my CPU usually a spike then it resolves itself.

      Could it be that.
      1. Some places write bad code for flash.
      2. Your bandwith is sub optimal
      3. You using a computer from the Clinton Administration

      I found that flash runs just as well as any other interpreded languge in terms of speed and perfomance. No it is not like it is imbedded into your OS. But it has been getting the job done.

      --
      If something is so important that you feel the need to post it on the internet... It probably isn't that important.
    14. Re:Ironically... by Anonymous Coward · · Score: 0

      Try Flash on anything but Windows.

      Flash is FUCKING SLOW because Adobe can't be bothered to use the OS APIs. Imagine Flash on Windows without DirectDraw or whatever the hell it's called.

    15. Re:Ironically... by Anonymous Coward · · Score: 1, Informative

      Silverlight should be very fast since it runs JITed CIL; and C# doesn't incur much overhead (after CLR optimizations). Perhaps certain Silverlight framework additions (UI libraries) or even WPF could be slow. I can only speculate; I don't have experience with SL.

    16. Re:Ironically... by Anonymous Coward · · Score: 1, Informative

      Are you just making stuff up? In my experience Silverlight is much faster than Flash.

    17. Re:Ironically... by JackAxe · · Score: 1

      If it were easy, it would have been done already. Last I checked, JavaScript DOESN'T have a NetStream class like Flash for handling audio/video streams. If it did, then there would have been JavaScript based video/aduio players prior to HTML 5.

    18. Re:Ironically... by Thinboy00 · · Score: 1

      YouTube supports WebM, stop whining.

      --
      $ make available
  2. Now developers can create even crappier flash by Anonymous Coward · · Score: 0

    So basically, flash was slow because programming was tacked onto an animation suite and instead of fixing flash, let's just make the crap go faster!

    1. Re:Now developers can create even crappier flash by tenco · · Score: 1

      let's just make the crap go faster!

      You mean, like, throwing it at a fan? I'm all for it!

  3. Don't botther by Anonymous Coward · · Score: 0

    The video is really crappy anyway. My 5 year old kid could hold the camera (pointed at the lap-top screen) more steadily.

    1. Re:Don't botther by Ossifer · · Score: 1

      This has got to be a candidate for the worst quality video ever posted to youtube

  4. Just what the world needs by MikeRT · · Score: 2, Funny

    A tool that Oracle and Adobe can take for a legal Menage a trois

    1. Re:Just what the world needs by MouseR · · Score: 2, Interesting

      Er. Why would Oracle team up with Adobe`s Flash, given their JavaFX?

      Disclaimer: I work for Oracle.

    2. Re:Just what the world needs by Seth+Kriticos · · Score: 1

      How about money?

      Thinking that JavaFX takes the role of Flash is delusional. But for Adobe it might be a good financial interest to keep Flash floating for a while longer (not that there would be a big threat to it so far, but they are still careful).

      Disclaimer 1: nothing against Adobe personally, I just hate Flash. I also see that Adobe is going in standards direction (somewhat) with CS5, so the issue is really only getting more time (and maybe a bit of DRM, some folks still don't got the memo that it's dead).

      Disclaimer 2: I personally shun Flash and don't like either party.

    3. Re:Just what the world needs by binarylarry · · Score: 1

      Well JavaFX was stillborn for starters.

      --
      Mod me down, my New Earth Global Warmingist friends!
    4. Re:Just what the world needs by Anonymous Coward · · Score: 0

      "The enemy of my enemy is my friend"

      Larry HATES Steve

    5. Re:Just what the world needs by tepples · · Score: 1

      Why would Oracle team up with Adobe`s Flash, given their JavaFX?

      Because Flash isn't intended solely for rich Internet applications. How would one make, say, Homestar Runner using no Adobe products? Is Oracle getting ready to come out with a vector animation authoring tool?

  5. Screen capture software by nacturation · · Score: 4, Funny

    Does anybody know of screen capture software that reproduces the "I'm recording video of my monitor using my shitty cell phone" effect?

    --
    Want to improve your Karma? Instead of "Post Anonymously", try the "Post Humously" option.
    1. Re:Screen capture software by Anonymous Coward · · Score: 4, Funny

      Yes, unfortunately it only ships with shitty cell phones...

    2. Re:Screen capture software by psbrogna · · Score: 1

      Go down some sketch back alley, find a guy in tattered clothing and ask him to film stuff for you. This technology is readily available under what I like to call the Night Train Agreement.

    3. Re:Screen capture software by Ant+P. · · Score: 1

      iChat

  6. 30X faster? by strokerace · · Score: 5, Informative
    Let's put this into perspective. Even the author of the software is calling for a reality check that's missing from the summary.

    From his site:

    Update: Please do not think that this implementation is 30x faster than the Flash Player developed by Adobe. One(!) microbenchmark is never a number you should count on. I would like to make clear that I never said this.

    1. Re:30X faster? by Anonymous Coward · · Score: 0

      3X or even 30X faster, it still wouldn't surprise me. Flash has been an overgrown slow piece of shit for a long time. The sooner it gets put out to pasture, the better.

    2. Re:30X faster? by ConceptJunkie · · Score: 3, Funny

      The problem here is not that the claim of a 30x performance increase was fallaciously generalized based on one particular piece of code as compared with Adobe's player, but that anyone familiar with Flash would find this claim to seem quite plausible.

      If someone claimed that they made a compiler that, say, generated code that was 30x faster than what Microsoft's compiler or gcc could do, no one would believe it for a minute.

      --
      You are in a maze of twisty little passages, all alike.
    3. Re:30X faster? by Doomdark · · Score: 1

      But still many developers find these second-hand numbers appealing, despite being obviously bogus with even simplest of back-of-envelope calculations. It is very frustrating to see claims like "protobuf is 30 to 100 times faster than xml!" get repeated; same thing in this case. People tend to believe things they want to believe. "hey, flash is crap, of course it's easy to write something that's 10x faster", "Java is slow, my new programming language is 20x faster" etc. etc.. In many cases it is hard enough to get things to be 2x as fast. But human mind seems attracted to inflated claims; and in most cases claims that are NOT made by actual authors.

      --
      I like paying taxes. With them I buy civilization -- Oliver Wendell Holmes
    4. Re:30X faster? by mbius · · Score: 1

      It might be lost on a general audience that the author, where Flash performance is concerned, is God Himself.

      --
      you can have my violent video games when you pry them from my cold, dead hands.
      Prime UID Club
    5. Re:30X faster? by mr_mischief · · Score: 1

      Well, you'll never get rid of wishful thinking. Even a 10% speedup of some code takes weeks of programmer time, let alone 200% or 3000%. Yet hearing that a great speedup has taken place is always nice, even if only for a subset of an application.

      It comes to mind that data centers are often a target for derision among green activists, who usually don't understand as much of the ecological issues as they should before they speak, let alone IT issues. We should really start pointing out to them that Google and Yahoo are much more efficient than everyone getting into their cars and going to the library or to Barnes and Noble to read trees that have been pulped and smeared with petroleum then trucked to a central location, only to be transported back out to decentralized locations. The we should point out that it's really rare outside of IT for a couple of talented people to make a 10% or 50% efficiency improvement in a few weeks' time. After all, a program with a 10% general speedup which completes 10% more processing of data on the same equipment in the same amount of time saves around 10% of the power used to run the system. Let's put IT up against most other industries based on those sorts of improvements.

  7. Pointless (no pun intended) by Anonymous Coward · · Score: 2, Insightful

    So an implementation of a language that only implements 1% of the functionality is less bloated and faster than the full implementation when running one very specific test? No fucking shit. I'm one of the first to bash Flash at any opportunity, but I'll wait and see how well this performs once it actually has some functionality before I start laughing at Adobe.

  8. BSD by Anonymous Coward · · Score: 3, Interesting

    If this really works, then we will finally get Flash to work on BSD and 64 bit version of Linux.

    1. Re:BSD by larry+bagina · · Score: 1

      assuming you have a jvm for your platform.

      --
      Do you even lift?

      These aren't the 'roids you're looking for.

    2. Re:BSD by Anonymous Coward · · Score: 1, Informative

      Which BSD and 64-bit Linux do.

    3. Re:BSD by Anonymous Coward · · Score: 0

      Great, the 3 BSD users and the 64-bit Linux user will be able to watch flash videos!

    4. Re:BSD by Bing+Tsher+E · · Score: 1

      Good question. Which BSD and 64-bit Linux do? One or two of the ports?

    5. Re:BSD by Anonymous Coward · · Score: 0

      If this really works, then we will finally get Flash to work on BSD and 64 bit version of Linux.

      Which internet requires a browser to address over 4 gigs of RAM?

      My point is that Linux x86-64 supports 32bit binaries just fine. People have been crying for 64bit browsers, and there is no need in the foreseeable future.

    6. Re:BSD by Anonymous Coward · · Score: 0

      Uh, personally I've been using running 64-bit Linux since before Vista even came out. We were way ahead of Windows users in this regard.

    7. Re:BSD by Anonymous Coward · · Score: 0

      Way ahead? Linux was 2 years ahead of Windows for 64-bit support, and yet as of today 64-bit support for Linux is shit while Windows 7's support is perfect. The Ubuntu page warns you not to use 64-bit. Says a lot.

    8. Re:BSD by Anonymous Coward · · Score: 0

      Personally I've never attempted to run a JVM on 64-bit Linux, but I've definitely run a JVM on OpenBSD. It's in the ports tree, using Sun's code no less. You have to click through a bunch of legalese to get it working though.

    9. Re:BSD by Anssi55 · · Score: 1

      I don't understand, could you explain how is 64-bit support in Linux shit?

      All drivers are available in both 32-bit and 64-bit, and one can run both 32-bit and 64-bit applications as in Windows.

      Also, Ubuntu is not the same as Linux. The 64-bit support (especially 32bit-on-64bit support) depends a lot on how the distribution handles it. I started using a 64-bit installation (with some 32-bit stuff like Wine for win32 apps) of Mandriva Linux since 2005 and it always had the support of using 32-bit applications/packages directly as well.

      If you instead meant some 64-bit specific problems not related to 32-bit support.. well, I really don't see those.

    10. Re:BSD by hairyfeet · · Score: 1

      Actually if you try the 64bit Windows version of Firefox it is actually much faster. If you would like some benchmarks here you go. Lower on the page is Ubuntu benchmarks which are also pretty much faster across the board. Now I'm not a browser designer so I can't tell you why, but running the same plugins FF uses slightly less memory and performs roughly 30% (IMHO) faster running native x64 VS x86. The only thing holding me back from dropping x86 Firefox is lack of flash.

      --
      ACs don't waste your time replying, your posts are never seen by me.
    11. Re:BSD by iceaxe · · Score: 1

      Dadgum! What the heck have I been watching on my 64 bit Linux box all these months? Is somebody tricking me with smoke and mirrors again?

      --
      WALSTIB!
    12. Re:BSD by Anonymous Coward · · Score: 0

      Yup, you've been using the 32-bit plugin using nspluginwrapper (which is why it's so buggy and crash prone). That, or you're using the old, discontinued 64-bit plugin with the gaping security hole.

    13. Re:BSD by iceaxe · · Score: 1

      Yup, precisely. The 32 bit plugin. Which has been no more buggy and crash prone than the windows version, from what I can tell. Then again, I don't use windows as often.

      Point being, it works, and is running on 64 bit Linux. A native 64 bit version would be interesting, but as I don't lose much sleep over Flash performance, meh.

      A JVM implementation... again... interesting, but not exciting.

      --
      WALSTIB!
    14. Re:BSD by Anonymous Coward · · Score: 0

      Also, Ubuntu is not the same as Linux.

      Ugh if you're just going to bring up that shit it's better I stop caring right now. Whatever, enjoy your flash.

  9. Adobe has one by Stan+Vassilev · · Score: 5, Informative

    Adobe (back then Macromedia) used to ship Flash in two version: native binary and Java version in the days when Java applets were popular. They stopped developing it around the time Flash 4 was out, because the tables have turned: Java applets were going down, while Flash was going up.

    The article never mentions any reason as to why this player was developed, and I'm struggling to come up with a reason myself, as it's easier to port the native runtime to any platform, than maintain an independent copy in a constant "catch up" mode.

    1. Re:Adobe has one by kick6 · · Score: 3, Insightful

      I'm struggling to come up with a reason myself, as it's easier to port the native runtime to any platform, than maintain an independent copy in a constant "catch up" mode.

      Semi-closed platforms like the iphone/ipod where the proprieters have turned their back on flash?

    2. Re:Adobe has one by norminator · · Score: 3, Insightful

      Apple isn't any more interested in allowing Java than Flash on the iPhone, so this won't help there.

    3. Re:Adobe has one by Stan+Vassilev · · Score: 2, Insightful

      Semi-closed platforms like the iphone/ipod where the proprieters have turned their back on flash?

      The introduction of yet another semi-functional Flash alternative is doing nothing to change this position, as it's a practical position, not one of open source ideology. Having it in Java makes this even less interesting to Apple.

      Steve Jobs, like any other mobile maker, can have full access to the actual Flash player source code, if he only wanted it. Maintaining an independent port is not cheaper than simply fixing the one Adobe provides.

    4. Re:Adobe has one by Adambomb · · Score: 4, Insightful

      Semi-closed platforms

      Semi?

      --
      Ice Cream has no bones.
    5. Re:Adobe has one by RAMMS+EIN · · Score: 0, Troll

      It's just another case of existing technologies being re-implemented for Java. Nothing to see here, move along.

      --
      Please correct me if I got my facts wrong.
    6. Re:Adobe has one by Anonymous Coward · · Score: 0

      No shit. Just last week, I ported the flash runtime to MIPS. No wait, I couldn't because it's closed source. How many years has adobe spent working on their ARM or x64 runtime? How many browsers now isolate it because Adobe's cr^flash runtime is a piece of shit?

    7. Re:Adobe has one by mrogers · · Score: 1

      Semi?

      Apple users consider the platform semi-open because you can look through the glass at the front and see your apps.

    8. Re:Adobe has one by blackraven14250 · · Score: 1

      ...but you can take this code and put it on your jailbroken iPhone/iPad yourself, which you can't do with their binary nearly as easily.

    9. Re:Adobe has one by Gazzonyx · · Score: 1

      If you jailbreak, you can get a lightweight JVM/JIT package from Cydia. Haven't tried it, but it installs, FWIW. I don't know how complete the libs are, but there isn't any reason you can't cross compile the Sun JVM to ARM (although memory might be a problem on 4th Gen hardware).

      --

      If I mod you up, it doesn't necessarily mean I agree with what you've said, sorry.

    10. Re:Adobe has one by tepples · · Score: 1

      Semi-closed platforms

      Semi?

      Yes, semi. Wii is an example of a fully closed platform: access to the devkit is by invitation only, and the rules state that you need a dedicated office and "experience" (that is, a prior commercial video game on another platform) even to be considered. But with Xbox 360 or iPod touch, anyone with $1000 for the hardware and the first year of a developer certificate can start coding.

    11. Re:Adobe has one by Anonymous Coward · · Score: 0

      He means "semi-closed" as in "sure, it's a closed platform, but I get a semi thinking about Steve Jobs so it's worth it".

    12. Re:Adobe has one by IICV · · Score: 1

      It's like being a little bit pregnant.

    13. Re:Adobe has one by JAlexoi · · Score: 1

      as it's easier to port the native runtime to any platform

      Well, unless you have some chunks of code that are platform dependent. And I bet Flash has those pieces of code. Otherwise wou would have had Flash 64 bit without any issues, since you know, it would only require a recompile....

    14. Re:Adobe has one by Anonymous Coward · · Score: 0

      Well, unless you have some chunks of code that are platform dependent. And I bet Flash has those pieces of code. Otherwise wou would have had Flash 64 bit without any issues, since you know, it would only require a recompile....

      Of course you have chunks that are platform independent. But is it easier to have those chunks isolated and have 95% of the rest completed, or to rewrite all of it, reverse engineering and replicating all nuances of the original runtime?

      As for why no quick 64-bit: Flash has a JIT runtime that generates assembly for the target platform. That JIT module probably takes most to port, as it is very platform specific: it's assembly. However, it's still easier than starting from an empty file.

  10. HTML5 by Anonymous Coward · · Score: 0

    ...

  11. Hrm@!! by scribblej · · Score: 1

    This sounds like a neat project... even without the speed improvements it would be nice to have a flash player that was portable and Free.

    That said, I can't wait to see the security holes of a Flash client combined with the security holes of a Java JVM! This is going to be AWESOME.

    1. Re:Hrm@!! by RAMMS+EIN · · Score: 1

      Somehow, I don't think there will be a lot of security holes in a Flash player written in Java, compared to a Flash player written in C or C++.

      --
      Please correct me if I got my facts wrong.
    2. Re:Hrm@!! by Anonymous Coward · · Score: 0

      This sounds like a neat project... even without the speed improvements it would be nice to have a flash player that was portable and Free.

      That said, I can't wait to see the security holes of a Flash client combined with the security holes of a Java JVM! This is going to be AWESOME.

      Its using all Java, so it would be "security holes of a Java JVM" which would be less than flash.

  12. Don't talk till you hit full compatibility. by spinkham · · Score: 4, Insightful

    This means very little. Anyone can make a subset of a language faster then a full implementation.

    The Ruby world has been through this recently: Someone comes out with a fantastic runtime that supports 1/8 of the ruby language, and it's 10x faster then everything else!

    There's lots of hype, but as development continues the other runtimes get 2x faster, and the new magic runtime gets 5x slower by actually supporting the whole language, and the new magic runtime is now the same speed as the rest of the field, with less compatibility and more memory usage.

    So color me skeptical, until this runtime supports the whole language, including transparent overlays and all the stuff that the Adobe guys claim makes Flash slow.

    Even the author of this article will tell you this. He recently added:

    Update: Please do not think that this implementation is 30x faster than the Flash Player developed by Adobe. One(!) microbenchmark is never a number you should count on. I would like to make clear that I never said this.

    That being said, If we're stuck with Flash for at least the near term, I'd like to see projects like this, Gordon, and Smokescreen take off and perhaps improve our choices in runtimes. I just don't expect magic.

    --
    Blessed are the pessimists, for they have made backups.
  13. Gnash effort wasted. by Anonymous Coward · · Score: 0

    It's unfortunate how much good work went into the Gnash project, only to hit a wall. It's not really the developers' fault. They made a good pitch to some people who might have been able to get them over the brick wall of things like hardware codec, AVM2, and ActionScript 3 support. The amount of investigation, clean-room reverse engineering, and testing involved in those areas is staggering. I think they made a good pitch (I know way more than I'm saying right now) but it fell flat on the floor.

  14. Maybe that's why OP said "Adobe" Flash? by Anonymous Coward · · Score: 0

    *duh*

  15. This corroborates what we all know... by malraid · · Score: 2, Insightful

    ... java is slow and a memory hog. (for the sarcasm impaired, yes, I'm joking).

    --
    please excuse my apathy
    1. Re:This corroborates what we all know... by Anonymous Coward · · Score: 0

      Sheesh, nobody on /. seam to have a clue about this. The pretentious Java demo is using OpenGL (the heavy lifting of fast rendering) while the native Adobe Flash is using the slow Windows GDI to render the stuff (normal non-accelerated Flash is much slower then any GL enhanced app), so no wonder the OpenGL version is "faster" here. In fact that non-accelerated Flash is almost as fast as this accelerated Java-OpenGL crap demo means, that the Java-demo must do something terribly wrong to be this slow! And of course the reinterpreted AS through Java is much slower then native AS in Flash, come on, the render-heavy applications and demos like this spend like 90% time rendering and 10% or less in the main loop, the script performance is nearly irrelevant.

    2. Re:This corroborates what we all know... by ruiner13 · · Score: 3, Funny

      It just proves that if there is anything that executes slower than java, it is flash!

      --

      today is spelling optional day.

    3. Re:This corroborates what we all know... by Anonymous Coward · · Score: 1, Interesting

      Flash IS OpenGL accelerated (on windows).

      Sun's Java has been known to be the king of VM performance for quite a while. Nothing really comes close in terms of optimization. Flash is known to be one of the slower of the pack.

      30x faster probably isn't far fetched.

    4. Re:This corroborates what we all know... by Cougar+Town · · Score: 1

      The 32-bit Linux Flash player is also OpenGL-accelerated.

    5. Re:This corroborates what we all know... by Anonymous Coward · · Score: 0

      Only for video. Vectors are still done with a software renderer.

  16. will it run on android? by DragonTHC · · Score: 1

    android support or it's pointless.

    --
    They're using their grammar skills there.
    1. Re:will it run on android? by ma3382 · · Score: 1

      What, you don't like the Java implementation of Youtube app as it is so you need to load a Java applet from the web?

    2. Re:will it run on android? by JackAxe · · Score: 1

      If you have Froyo 2.2 like ME and a Nexus One like ME, Flash Player 10.1 'final' is already available -- which makes ME happy. :)

  17. patent lawsuit in the making by LingNoi · · Score: 1

    Cue Oracle patent lawsuit in 3....2.....1....

    1. Re:patent lawsuit in the making by danieltdp · · Score: 1

      Acconding to the Java licence, they can't sue you for creating a program (Flash's substitute) that uses a full blown JVM. Otherwise, we all would the fucked.

      Even so, regarding JVM implementations, if you make a JVM that implements Java to the fullest, you are safe too. Only partial implementations (like java mobile) are target for lawsuits

      --
      -- dnl
    2. Re:patent lawsuit in the making by LingNoi · · Score: 1

      do you work for Oracle? Otherwise stating what is and isn't safe when you don't have the authority over if they sue or not isn't very convincing.

  18. Next step! by VincenzoRomano · · Score: 1

    Is to use GCJ and go at the speed of machine code.
    Or maybe to LLVM!

    --
    Maybe Computers will never be as intelligent as Humans.
    For sure they won't ever become so stupid. [VR-1988]
    1. Re:Next step! by ludwigf · · Score: 1

      [...]go at the speed of machine code. Or maybe to LLVM!

      You mean like lightspark?

  19. Java in the Box? by Joffy · · Score: 1

    I wonder if Joa Ebert realizes I'll never be able to not call it Jack in the Box if it takes off.

    1. Re:Java in the Box? by fibonacci8 · · Score: 1

      Could call it Jitterbug after the late 1930s swing dance style.

      http://en.wikipedia.org/wiki/Jitterbug

      --
      Inheritance is the sincerest form of nepotism.
    2. Re:Java in the Box? by binarylarry · · Score: 1

      Or perhaps I could recommend "Java Inside That Bitch"

      --
      Mod me down, my New Earth Global Warmingist friends!
    3. Re:Java in the Box? by game+kid · · Score: 1

      Java Is The Bomb?

      --
      You can hold down the "B" button for continuous firing.
  20. Suck on it Steve... by jasonq · · Score: 0

    Cool! Now I can run Flash sites on my iPhone by simply using the JVM. Oh, wait...

  21. Implementation dependant by DrYak · · Score: 2, Interesting

    HTML5 can't do that.

    HTML5 only specifies the source URL where to get the media from. Doesn't specify how to play it nor exactly how to download it.

    Of course you could just implement it in a dumb straight forward way : like download the whole damn file and just play it.

    But some data containers, like the OGG container with is pushed forward by OSS at least for Vorbis and Theora (and could be used for VP8 too) are designed in such a way that different chunks can contain different level of details (think like a progressive JPEG). A more advanced software could download the metadata and then only selectively download parts of the file that contain the chunks that it can play within the bandwidth limit. (Think : only downloading the first part of a progressive JPEG which contain the lower resolution data).

    I don't know if Matroska (the preferred container for VP8 codec as part of Google/On2's WebM) can do it too.

    --
    "Sufficiently advanced satire is indistinguishable from reality." - [Tips: 1DrYakQDKCQ6y52z6QbnkxHXAocMZJE61o ]
    1. Re:Implementation dependant by Anonymous Coward · · Score: 0

      Please, OGG sucks in that as well. matroska can work as well or better even in this scenario.

    2. Re:Implementation dependant by 10101001+10101001 · · Score: 1

      But some data containers, like the OGG container with is pushed forward by OSS at least for Vorbis and Theora (and could be used for VP8 too) are designed in such a way that different chunks can contain different level of details (think like a progressive JPEG). A more advanced software could download the metadata and then only selectively download parts of the file that contain the chunks that it can play within the bandwidth limit. (Think : only downloading the first part of a progressive JPEG which contain the lower resolution data).

      I'd love to see this idea implemented in bittorrent. Not only would it allow for people to post one encoded HD video while allowing others to effectively pull out SD videos at much reduced bandwidth costs, it could be coupled with the idea of streaming video through bittorrent. That'd seem to be the main, elusive hindrance to (mostly) decentralized broadcasting of video. Perhaps they could even include the feature optionally into HTML5 (so websites don't get slashdotted just because they have a popular video)? :)

      --
      Eurohacker European paranoia, gun rights, and h
    3. Re:Implementation dependant by doctorpangloss · · Score: 1, Interesting

      HTML5 does allow bandwidth-sensitive streaming video.[1] Webkit browsers support a plaintext playlist file which provides a list of video segments in every bitrate you'd want available to the client. Open source software in the ffmpeg package can create the H.264 encoded files packed in MPEG-2 TS segments; the playlist can be made by hand or dynamically.

      I am not sure, but I believe using a plaintext playlist file will allow the agent (browser) to support bitrate-switching streaming without depending on container formats supporting such functionality.

      [1] http://developer.apple.com/iphone/library/documentation/NetworkingInternet/Conceptual/StreamingMediaGuide/HTTPStreamingArchitecture/HTTPStreamingArchitecture.html#//apple_ref/doc/uid/TP40008332-CH101-SW2

    4. Re:Implementation dependant by aix+tom · · Score: 1

      I might be old-fashioned, but the solution that has so far worked the best for me:

      - When they have different bandwidth version videos to choose from.
      - When they are also downloadable, so that I can get them over time, even when on a lousy network.

  22. loop by danieltdp · · Score: 1

    Now we need a JVM implemented on Flash and bingo. Infinite loop, here we go

    --
    -- dnl
  23. Learn to use a camera by gbrandt · · Score: 1

    Man, those types of videos give me a headache. Use a tripod, pop the camera again something. JUST STOP THE SHAKING! Please?

    1. Re:Learn to use a camera by Anonymous Coward · · Score: 0

      This video brought to you by British Nanny Productions

  24. Someone remembers Lightspark? by Anonymous Coward · · Score: 0

    http://en.wikipedia.org/wiki/Lightspark

    I have high hopes on it...

  25. Yep by Anonymous Coward · · Score: 0

    Any random government worker.

  26. JVM optimisations by DrYak · · Score: 3, Informative

    The article never mentions any reason as to why this player was developed, and I'm struggling to come up with a reason myself

    I would think that the JVM itself is the main reason.
    Flash uses Actionscript, a variant of ECMAScript, just like Javascript.
    To run it fast enough, an implementation needs a fast and nice actionscript engine.
    One possibility would be to get a Javascript engine like Google's V8, Mozilla's Trace- / Jaegger-Monkey, Adobe's own opensourced Tamarin, etc.
    The other possibility is to use a well known and well optimised VM like Java and compile the Javascript into Java bytecode. This makes the process more complex, but leverages the years of JVM development.

    Also the second advantage is that lots of hardware contain already a functionning JVM : Lots of phone have Java EE, Android has the Java-like Dalvik (which can run java byte code after a transcoding), etc.

    as it's easier to port the native runtime to any platform

    Saddly, the main reference implementation of Flash is closed source (except for the Tamarin engine).
    So for a port you have 3 possibilities :
    - wait for Adobe to port the latest official player. Saddly they aren't doing it for lots of different architecture
    - port yourself one of the open source implementation (Gnash, LightSpark, Swfdec)
    - use a multi-platform player (Java)

    --
    "Sufficiently advanced satire is indistinguishable from reality." - [Tips: 1DrYakQDKCQ6y52z6QbnkxHXAocMZJE61o ]
    1. Re:JVM optimisations by TheBig1 · · Score: 1

      Lots of phone have Java EE

      Probably just a typo, but to my knowledge no phones support Java EE; you probably meant Java ME. I can't comment on the rest of your post, as I have no idea if it is possible or even feasible to compile Javascript into Java bytecode...

    2. Re:JVM optimisations by binarylarry · · Score: 2, Informative

      "The JavaScript compiler translates JavaScript source into Java class files. The resulting Java class files can then be loaded and executed at another time, providing a convenient method for transfering JavaScript, and for avoiding translation cost."

      http://www.mozilla.org/rhino/jsc.html

      --
      Mod me down, my New Earth Global Warmingist friends!
    3. Re:JVM optimisations by TheBig1 · · Score: 1

      Snazzy!

  27. ..so it's called Jack in the Box? by kheldan · · Score: 1

    Just sayin'. Am I the only one who abbreviates it that way?

    --
    Are YOU using the TOOL, or is the TOOL using YOU? Think about it!
    1. Re:..so it's called Jack in the Box? by neminem · · Score: 1

      Nope. At the very least, Kingdom of Loathing players all refer to the Jack in the Box familiar as the JitB; clearly we should refer to this thing as Java in the Box?

  28. fast... but not really by Anonymous Coward · · Score: 0

    there are some things that have not been considered for this, specifically, the flash elements on the flash video. an example is the comments that popup on top of the video. the linux flash guy explains this issue well: http://blogs.adobe.com/penguinswf/2010/01/solving_different_problems.html

  29. impetus to improve? by Sprouticus · · Score: 1

    Seems to me that if this plays out and is better at higher levels of compatability, that this might encourage Adobe to make a better flash player.

  30. Correction by Gazzonyx · · Score: 1

    *Sigh* I meant pre-4th Gen hardware.

    --

    If I mod you up, it doesn't necessarily mean I agree with what you've said, sorry.

  31. Distributing work-in-progress versions by tepples · · Score: 1

    if you make a JVM that implements Java to the fullest, you are safe too. Only partial implementations (like java mobile) are target for lawsuits

    Then how can a free software project develop a JVM if nobody on the team is legally allowed to distribute parts of it until the whole thing is feature-complete? It would have to be done inside a corporation, such that distribution of work-in-progress source code from one member of the team to another is not legally "distribution".

    1. Re:Distributing work-in-progress versions by danieltdp · · Score: 1

      Don't ask me. I am just giving you the facts. Quoting (emphasis mine):

      Sun Microsystems, Inc. (SUN) hereby grants to you a fully paid, nonexclusive, nontransferable, perpetual, worldwide limited license (without the right to sublicense) under SUN's intellectual property rights that are essential to practice this specification. This license allows and is limited to the creation and distribution of clean room implementations of this specification that:

      (i) include a complete implementation of the current version of this specification without subsetting or supersetting;

      --
      -- dnl
  32. Updates? Speed? by donjefe · · Score: 1

    So now the player can be nice and slow and want to update my system just as much or more!

  33. Nice, one crap on another crap by Anonymous Coward · · Score: 0

    Crap Crap Crap Crap

  34. THE NEXT BIG STEP by aradnik · · Score: 1

    next step is to rewrite bochs in java in which we can run vmware running ubuntu with wine loading qemu running reactos to load a java envirment for flash... (i'd include java script but it's too fast these days...)

  35. I can has? by human-cyborg · · Score: 1

    Watching that video made me want cheeseburgers.

    What does JITB stand for in this case?

  36. Yo dawg by Anonymous Coward · · Score: 0

    Yo dawg, I heard you like virtual machines, so I put a virtual machine in your virtual machine.