The Register® — Biting the hand that feeds IT

Feeds

Coder cooks up Java-built Flash Player

OpenGL gurus sought

Cloud storage: Lower cost and increase uptime

A version of Flash is being built using Java, two years after Adobe Systems opened the player's closed formats to external inspection.

Programmer Joa Ebert has demonstrated a Java build of Flash executing SWF. The player is apparently called JITB, and it was recently unveiled at an event in San Francisco.

While there's still plenty left to do, Ebert hoped others might become involved in the project if he shared his work in its early stages.

"Maybe some OpenGL guru wants to take care of the Display List rendering or someone else likes to help implement the Flash API in Java," the coder blogged here. The code is here.

JITB is currently able to translate a subset of Adobe's ActionScript scripting language into Java bytecode he said would run at nearly the same speed as native Java. He blogged:

"I am also shooting for Java interoperability at some level so that you can call Java classes from within ActionScript. Hopefully you will be able to use JITB on your desktop machine, on a server or on an Android phone. Basically everywhere Java runs."

Adobe in 2008 lifted restrictions on SWF for use in multi-media and vector graphics and FLV/F4V, for video on Flash. The company also published Flash Player's device porting layer APIs, the Flash Cast protocol and AMF protocol for the exchange data between a Flash application and database. In addition, Adobe pledged to eliminate all licensing fees for the next major releases of Flash Player and Adobe Integrated Runtime, which are due later this year.

Adobe didn't exactly open-source the technologies - it just allowed outsiders to read them, and to implement them without changes as non-Adobe versions of Flash Player. The company did so as it formed the Open Screen Alliance to encourage device makers and programmers to put Flash and its Flash-based Adobe Internet Runtime (AIR) on more non-PC devices.

Shout out to Reg regular Tim Anderson for flagging this up. ®

Customer Success Testimonial: Recovery is Everything

Java + Flash

Will it reach a critical bloat mass and suck in everything else you've got installed on the computer?

4
0

float vs Float

Tom,

Float is a class, float is a primitive type. pixels[pixels.length+1] will throw an ArrayindexOutOfBoundsException, thus breaking out of the loop.

1
0

More secure

The Java language does bound checking on all array accesses. It also checks all use of reference (pointer) values. So, this should result in a more reliable Flash engine with significantly fewer exploitable flaws. If the use of compilation to native code for the Java bytecode can get the speed up the result could be a Flash engine that is reasonably fast (there will be some cost of course) and a lot less exploitable. I would be all for that.

As for the bloat, well, yeah, you're going to get that. :-(

1
0

More from The Register

SCO vs. IBM battle resumes over ownership of Unix
Zombie lawsuit back and wants to suck the brains out of Linux
Bjarne Again: Hallelujah for C++
Plus: Now officially OK to admit you never used STL algorithms
Interwebs taunt Sir Jony over Apple eye candy makeover
Hey Ive, Ive... add more unicorns, willya?
Apple: iOS7 dayglo Barbie makeover is UNFINISHED - report
Plus: You don't like the icons? Blame marketing
Red Hat to ditch MySQL for MariaDB in RHEL 7
So long, Oracle! Don't let the door hit you on the way out
Shy? Socially inadequate? Fiddling with your phone could help
App 'tells the brutal truth' about social inadequates' chatup lines
Java EE 7 melds HTML5 with enterprise apps
New release arrives with GlassFish, NetBeans support
 breaking news
'Office Facebook' firm Tibbr wants you to PAY for mobe-meetings app
Great idea. Punters won't cough for it though
 breaking news
The only Waze is Google: Ad giant tipped to gobble map app 'for $1.3bn'
Pac-Man-satnav-ish upstart in bidding war with Apple, Facebook
 breaking news
PM Cameron calls for modern, programmable computers! (We think)
IT education musings to G8 chiefs to mystify IT industry