The Shumway Open SWF Runtime Project 99
theweatherelectric writes "Mozilla is looking for contributors interested in working on Shumway. Mozilla's Jet Villegas writes, 'Shumway is an experimental web-native (Javascript) runtime implementation of the SWF file format. It is developed as a free and open source project sponsored by Mozilla Research. The project has two main goals: 1. Advance the open web platform to securely process rich media formats that were previously only available in closed and proprietary implementations. 2. Offer a runtime processor for SWF and other rich media formats on platforms for which runtime implementations are not available.'"
See also: Gnash and Lightspark.
Re: (Score:2)
I've been using it in Beta and it works fine.
I think it's due out in one of the next two versions.
Re: (Score:1)
Nightlies not so happy right now
Re: (Score:2)
Not even the link, or the document linked from the link, seems to know what "SWF" means.
Re: (Score:2)
SWF = Shocking White Flasher.. I think..
No thanks (Score:3)
Re: (Score:1)
I will put my efforts learning to do great things in html5.
Blank pages are the only thing you can do with HTML5 right now in many browsers. Some people, preferring not to wait, have taken the unusual step of working with what's available now. I know, it's a weird concept in IT... I prefer to time travel to the future too, but my TARDIS is busted, and worse, infested with a red-headed scottish girl with a terrible welsh accent. You wouldn't happen to have one I could "borrow", would you?
Re:No thanks (Score:4, Insightful)
No privilege to install a browser (Score:3)
Please define "many browsers".
There are many PCs whose primary user lacks the privilege to install a browser. And on mobile, a lot of deployed Android devices are still stuck at 2.2/2.3, hence no Chrome.
Re: (Score:2)
Re: (Score:2)
Blank pages are the only thing you can do with HTML5 right now in many browsers. Some people, preferring not to wait, have taken the unusual step of working with what's available now.
Well, yeah. Fundamentally, I agree. But if you're waiting for slow, incremental change? The internet isn't really the best place. You're probably better off looking in politics.
Re: (Score:3)
Blank pages are the only thing you can do with HTML5 right now in many browsers
yeah, well.... at least they load fast!
Re: (Score:2)
my TARDIS is busted, and worse, infested with a red-headed scottish girl with a scottish accent
FTFY
Anyway, there's a new companion now.
Re: (Score:2)
I will put my efforts learning to do great things in html5.
Blank pages are the only thing you can do with HTML5 right now in many browsers. Some people, preferring not to wait, have taken the unusual step of working with what's available now. I know, it's a weird concept in IT... I prefer to time travel to the future too, but my TARDIS is busted, and worse, infested with a red-headed scottish girl with a terrible welsh accent. You wouldn't happen to have one I could "borrow", would you?
I wish I could borrow someone's Amy...
Re: (Score:1)
Re: (Score:1)
HTML5 still does not come close to what Flash can do with at least 10 times less cpu usage.
The HTML5 was presented as a Flash replacement but it is even lacking basic functionality like timelines and animation.
That is what made Flash so popular.
Re: (Score:2)
Canvas + JS = timelines and animation (Score:2)
Re: (Score:1)
End-game-wise, this will help to transition users and developers away from Flash and to HTML5.
I'd say that's pretty great.
Bugs in the demo (Score:4, Interesting)
Re:Bugs in the demo (Score:5, Funny)
In the race card demo the "best lap" time is actually just your last lap. And when you finish all 10 laps the clock doesn't stop, so your "final time" keeps increasing. I wonder if this is a bug in Shumway or the game itself. And I only get around 7 FPS on average, on Firefox in Linux/x86.
Sounds like the app has a... (puts on sunglasses) race condition. YEEEEEEEEEEaaaaaaah!
Re: (Score:3)
ok, you win the internet tonight.
Re: (Score:2)
Re: (Score:2, Informative)
I get ~22 FPS, on Chromium in GNU+Linux/x86_64
Re: (Score:3)
At least it loads for you. In the current version of Safari (OS X), I just get:
TypeError: Attempting to change value of a readonly property. kanvas.js:49
Re: (Score:2)
Sounds like a JavaScriptCore bug. There are no readonly properties in sight around that line...
Re: (Score:2)
In the race card demo
It's quite saddening to see Mozilla playing the race card. However, I'm glad to report that I'm getting ~22 FPS using Firefox 16.0.2 on OS X 10.7.5.
SWFDec - SWF Decoder - another SWF implementation (Score:3, Informative)
http://swfdec.freedesktop.org/wiki/
Sounds great, would prefer ActionScript / Flex (Score:5, Insightful)
I love the Free / OSS nature of something like this, but one of the absolute best** things about Flash is the ActionScript language (specifically AS3) (and to a lesser extent flex).
Since it is based on ECMAScript, it offers nearly everything JavaScript does and more. Classes, Inheritance, Polymorphism, both dynamic and static typing, etc, etc. And some things I find truly awesome such as the EventDispacter pattern and DisplayObject event bubbling.
So what are the chances of ActionScript being considered for something like this? Are there legal hurdles that make it a non-starter?
Also, how does this compare to other OSS flash players like Gnash? Conceivably this could solve the biggest problem with Flash, the lack of security involved when the player is proprietary.
**Yes, Adobe stagnated and got lax about security as well as bundled toolbars with the plugin as well as other privacy implication with SharedObjects. However, as a scripting and vector animating platform, Flash was amazing tech. And it makes damn nice RIAs and did great for video for its time. However it's clear that time is over due to some serious missteps on Adobe's part. So please don't get me wrong, there are many valid criticisms of Flash, but it was an innovative technology (and still is to a much less extent).
Re:Sounds great, would prefer ActionScript / Flex (Score:5, Informative)
Sorry to reply to myself, but it seems I'm tired and wasnt thinking -- Big clarification: The Shumway player does support AS -- as it support SWFs, and thus naturally, AS3.
Re: (Score:3)
Not all SWFs are AS3 -- quite a few of the older ones out there are still AS2 -- and all but two of the demos they've provided are AS2.
By looking at the code, it looks like they've implemented maybe half of the opcodes in the SWF spec for AS3. They got the easiest ones for graphics, but they are missing all the networking ones, most of the effect, and a lot of the event handling. They still have a LONG way to go before they can say they run even a portion of the Flash apps out there.
On a side note to thos
Re: (Score:1)
Don't forget autobinding, vector animation, and a consistent, usable, extendable (if flawed) UI framework that displays correctly in any environment.
HTML5 is great, except I have to write 5-6 different versions of my program, with 10x the code.
Re:Sounds great, would prefer ActionScript / Flex (Score:4, Interesting)
Re: (Score:1)
So, how long have you been working for Adobe? Flash and SWF are terrible technologies. They're slow, they're buggy, they're insecure. Most of the time when my browser crashes it's because of one of those two technologies.
I wish you could say who the no flash order was from, because they deserve my business. Flash was one of the worst things to ever happen to the web.
Re: (Score:2)
So, how long have you been working for Adobe? Flash and SWF are terrible technologies. They're slow, they're buggy, they're insecure. Most of the time when my browser crashes it's because of one of those two technologies.
I wish you could say who the no flash order was from, because they deserve my business. Flash was one of the worst things to ever happen to the web.
I can promise you flash is only as slow and buggy as the flash developer. Unfortunately, there are hordes of the sluggish variety mucking about. Security is a non issue. In fact, flash is one of the easier things to get clearance on in our government contracts. I will however be the first to admit the platform would do much better if the whole thing were given to Apache. The problems with Flash are political, not technical.
Re: (Score:2)
One word: Flash video players. The only video players I know of that manage to max out a core on my core2duo for a 480x320 video.
Sounds like you're not using Windows. Unfortunately I believe it's the only platform on which Flash is properly hardware accelerated.
Re: (Score:2)
Re: (Score:2)
Having the flash plugin is just more more attack vector on my system who's sole purpose is to essentially display advertisements, youtube videos, or horrible "I wish I was a real application" user interfaces. I can't tell you the number of times we have had to rush to update flash because of the threat of infections.
I can live without it. If it can't be done with html and javascript it probably is best not done in a web browser.
Re: (Score:2)
Don't worry, soon all those CPU-hogging animated advertisments and horrible "I wish I was a real application" user interfaces will be implemented as native HTML 5.
Re: (Score:2)
I can promise you flash is only as slow and buggy as the flash developer.
If that were the case, the only way to explain the extreme shittiness of flash apps would be that flash attracts shitty developers. Why is that?
Re: (Score:2)
Re: (Score:2)
Re: (Score:1)
With a name like Shumway... (Score:4, Funny)
...it's gotta be good.
Re:With a name like Shumway... (Score:4, Informative)
I think it's an ALF reference. ALF's "real" name is Gordon Shumway.
Re: (Score:2, Funny)
Before & After in Wheel of Fortune:
Flash Gordon Shumway
Re:With a name like Shumway... (Score:4, Funny)
Re: (Score:3)
Now webpages can run like a dog (Score:1)
Re: (Score:2)
Re: (Score:2)
Oh, boy! (Score:3, Interesting)
Having experienced just how slowly pdf.js renders documents longer than a page or two - I can't WAIT to see how well implementing swf in javascript goes!
Re: (Score:2, Informative)
This is simply not true.
I read New Yorker magazine in pdf.js, every file is ~100MB and ~100 pages and it's not slow at all.
In chrome, I should add.
Re: (Score:2)
Re: (Score:2, Insightful)
I won't get to know.
I block flash and I block javascript. I only whitelist js for certain sites but mostly, its all blocked.
(and nothing of value was lost...)
Re:Oh, boy! (Score:5, Interesting)
Which is why a browser-based method is better than a plugin-based method for stuff that Flash does. After all, if you allow Flash for one site, who knows what sorts of Javascript and resources it pulls from other sites?
But a browser based version or HTML5 means site-specific restrictions are honored - a Flash video that wants to pull in javascript from ad trackers can do it via the Flash plugin, but if it was in HTML5 or a browser implementation, will still remain blocked.
Re: (Score:2)
Re: (Score:2)
I won't get to know.
I block flash and I block javascript. I only whitelist js for certain sites but mostly, its all blocked.
(and nothing of value was lost...)
I can't understand how you can get by. The modern web is too painful to use with JS blocked by default.
Re: (Score:2)
Having experienced just how slowly pdf.js renders documents longer than a page or two - I can't WAIT to see how well implementing swf in javascript goes!
Implementing SWF in Javascript can't possibly be more complicated than implementing A Javascript x86 emulator that boots into Linux and can run gcc [bellard.org] .... could it?
Re: (Score:2)
Just what I need! More Adobe middleware! (Score:3, Insightful)
But I do REALLY like the idea of html5 instead of flash. Sure, it was funny for awhile to call apple products crippled because they couldn't have a full web experience, but I've been having problems with Shockwave / Flash products for years.
It does need to remain supported, I agree. And opened up? Great!
But developed? Encouraged? Promoted? No thank you. I'd rather see the [blink] tag supported in facebook.
Awesome! (Score:1)
What could possibly go wrong... (Score:1)
You have one ECMAScript spawn (JavaScript) interpretting another (ActionScript), talk about redundancy.
Does this mean we could possibly have CONTROL? (Score:4, Interesting)
Does this mean developers might actually implement 'MUTE', 'FORCE STOP', or 'RESTART' context menu items for shockwave apps? I despise going to read a page with ads and other shockwave sidebar widgets that make noise or chew up CPU cycles and have no way to pause/mute/stop them. It also bugs that you must reload the entire page to get a flash app to restart.
It's beyond me why Macromedia/Adobe never wanted us to have those essential controls. The only thing we get, in some rare cases, are the ability to prevent the app/player from looping, or to turn down rendering quality.
Re: (Score:1)
adblock, noscript, flashblock
Legacy game platform? (Score:1)
People bitch about html5 (Score:2)
great.. (Score:2)
but but but (Score:2)
It's 2012 (Score:2)