I've been reading the Adobe Flash Roadmap published last week and wanted to post a few thoughts. If you haven't read it yet, it isn't a long read so perhaps
hop on over there and read it for yourself before you read my opinions.
So, no doom and gloom here. Really this is the way it seems Flash has been moving for a few months now so there are no huge surprises. The first point I'd like to make is based on this text:
Looking forward, Adobe believes that Flash is particularly suited for addressing the gaming and premium video markets, and will focus its development efforts in those areas. At the same time, Adobe will make architectural and language changes to the runtimes in order to ensure that the Flash runtimes are well placed to enable the richest experiences on the web and across mobile devices for another decade.
So this is no huge surprise if you look at the effort Adobe has been putting into 3D rendering and graphics acceleration. I actually think this could be an awesome thing and would argue that the next big thing on the web will be multiplayer and social Flash based games. Not Farmville, but immersive experiences with lots of video and realism. I like the idea of architectural and language changes to speed things up.
My first worry though is how the
Apache Flex project will adapt to these changes. It will be imperative for the Adobe operatives in the Apache project to voice their opinions loudly, but it might become a debacle like the CFML steering committee. More on this later.
The next point I'd like to make deals with:
With the growth of competition in the browser market, browser vendors are increasingly innovating and providing functionality that makes it possible to deploy rich motion graphics directly via browser technologies, a role once served primarily by Flash Player. Increasingly, rich motion graphics will be deployed directly via the browser using HTML5, CSS3, JavaScript and other modern web technologies. While the primary role of Flash Player as an engine for innovation on the web remains the same, what it is used for will change.
Well, here I take issue. I feel that HTML5 is about 2 years away from being a solution we can use for "rich motion graphics". With all of the hype around HTML5, people forget that not only does it have serious cross-browser support issues, but it also doesn't even contain many features that are considered standard and must-have in the Flash environment. Have you actually tried to deploy a video player across browsers and devices in HTML5? Phew. While I'm excited for the future of HTML5, and while everyone else is trying to find the next Javascript framework, I'll keep pushing out high quality apps for my clients using Flex and Flash today.
For those of you who know me, you know that I love to tinker with video encoding, transcoding and delivery so this next one is important:
Adobe believes that Flash Player will continue to stay at the forefront of online video by innovating in key areas. These include the following:
- Bringing Adobe's video streaming and content protection technology to more platforms in native formats
- Supporting the needs of premium content owners
- Closer collaboration with hardware vendors to provide high-performance quality experiences
Adobe believes that Flash has a number of fundamental and unique advantages for video:
- Single and consistent player and codec support across browsers, platforms, and operating systems
- Support for content protection (single DRM), which enables premium video content to be licensed for online distribution
- Mature, full-featured, proven solution that provides a "mission critical" video platform for premium content owners, including support for ad insertion and analytics
Nothing here isn't exciting, and it all makes sense. I'm excited to see how they continue to innovate with DRM and analytics. Even more importantly, and so I don't geek out on the video stuff, is this line:
Single and consistent player and codec support across browsers, platforms, and operating systems
What I want to point out is that this closely mirrors my thoughts on why Flash and Flex are awesome. Why does Adobe embrace this with video, but they seem to forget that this is why Flex and Flash are awesome: penetration, cross-browser support, cross-OS support. I understand that Adobe is a tools company, but lets just see what Flash Next does to Flex.
A few Flash Player roadmap nuggets to point out. These should be pretty exciting for game developers:
- Support for more hardware accelerated video cards (from January 2008) in order to expand availability of hardware-accelerated content.
- New Throttle event API (dispatches event when Flash Player throttles, pauses, or resumes content)
- Multithreaded video decoding pipeline on PCs, which improves overall performance of video on all desktop platforms
Now, here is an "are you freaking kidding me?" moment. I wish we could've done this with Flex applications for years:
Keyboard input support in full-screen mode
The possibilities for video delivery in full-screen mode with keyboard input are immense. It closes the gap between set top based AIR apps and their sister applications on the web. I am not sure how they decided to handle security, but I'd be interested in seeing how this plays out.
Here is a language enhancement that will have a far reaching effect. Sit and chew on this one for awhile and you will understand:
ActionScript workers (enables concurrent ActionScript execution on separate threads)
And now the meat:
Below are a few items being explored for the next generation of the ActionScript language and virtual machine:
- Stringent static typing as default, with optional dynamic typing: Most stretches of most programs are expected to benefit from static typing. However, ActionScript 3 tends to lapse into dynamic typing all too easily in places where absolutely stringent static typing would be preferable. This will be corrected. Dynamic typing will still be available when needed, but it will no longer be the default for ActionScript, and it will need to be enabled explicitly.
- Type inference: Type declarations will only be necessary in certain strategic places. Everywhere else the compiler will automatically infer suitable type declarations and treat the whole program as statically typed, even though the programmer does not have to state any types. Thus the convenience of untyped programming can be approximated quite well, while providing the performance advantages of typed programming.
- Hardware-oriented numeric types: For example, int, uint, float, float4, byte, short, long, etc. (the exact set of types is still under discussion). Currently in ActionScript 3 integer values can overflow into floating point values. This will be changed so that numeric operations will never change the underlying representation of the numeric. We foresee this addition greatly reducing implementation complexity and improving runtime performance.
So it is no secret that I love ActionScript. I'm all about improvements and the improvements above are exciting (well except for the last bullet unless it is implemented passively as they promise). Here is the problem... we now have a language spec handled by a commercial organization, and a framework (Apache Flex) that is run by an open source group. What are the chances that these stay in line, especially given the fact that Adobe has stated ActionScript Next will not be 100% backwards compatible with AS3, which is what Flex is built on (anyone remember AS2 > AS3?). Here is my worry. As Apache starts considering their options and develops the Flex roadmap, how long until they say "We aren't going to compile to AS3 anymore, lets compile to Python or SmallTalk or ...". I'd be willing to bet you'll see a port in the near future, which means that innovation in Flex will need to take a backseat while the compiler is rewritten. I'd love to hear your thoughts!
Thanks for this share mate. I have looking for this information for quite some time now and I am glad to come across your post.
ReplyDeleteThanks for sharing your post with us...When i came across through your blog. I saw this post very helpful and useful to me..
ReplyDeleteGreat post. Although advances are good, I'm a little worried about Adobe's commitment to the future, given their lack of integrity around communications, to the point where it has me question whether I believe anything coming out of their mouths. Quite frankly, I don't. So there's a trust issue: specifically, trusting them not to frak up the implementation deliberately in order to better position HTML5 as an alternative.
ReplyDeleteI love all the changes to the Flash player: threads, GC control, fullscreen keyboard control, MOUSE_OUTSIDE event (finally!!!). And I love that they're planning all these "upgrades" to ActionScript in AS4.
BUT... just as Flash has NEVER BEEN MORE POWERFUL... they're going to obsolesce the AVM2 for a new AVM for AS4?!!!! W.T.F. in big, skyscraper-tall letters. Seriously.
All this to say, I do not trust Adobe NOT to frak this up any more than I could throw their massive eco-friendly HQ building.
Time will tell.
PS: And still no Server-Side ActionScript in CF10? W.T.F. ADOBE!!!!
The blog is absolutely fantastic. Lots of great information and inspiration, both of which we all need. Thanks.
ReplyDeleteGreat post. I think your points about HTML 5 being 2 years away from producing viable 'rich motion graphics' is spot on.
ReplyDeleteAdobe are clearly favouring gaming and video, as opposed to mobile, in Flash's future.