Showing posts with label Adobe. Show all posts
Showing posts with label Adobe. Show all posts

Wednesday, November 19, 2008

Introducing Adobe AIR 1.5

Adobe AIR 1.5 marks the second significant update to the AIR runtime since its release on February 25, 2008. Since then, the developer community response to AIR has been truly amazing with more and more applications appearing every day. With over 260 applications on the Adobe AIR Marketplace and well over 25 million installations of apps deployed on Adobe AIR, we're seeing a tremendously positive response not only from application developers but end users as well.

Many applications powered by AIR are becoming extremely popular, such as Twhirl, the most popular Twitter desktop (over 600,000 downloads and counting). One of our favorite applications is from FedEx, called FedEx Desktop, which provides customers a way to easily track and manage their packages. Parleys is an application that allows you to watch developer-oriented presentations recorded at popular conferences.

Today, we are pleased to announce that we are continuing to add powerful, new capabilities to the AIR runtime with the release of version 1.5. In this release, some of the additional capabilities now available to AIR developers include the following:

  • Encrypted local database: By popular request from developers, we've added a way of encrypting the local database inside of AIR. While encrypting data in AIR has been possible since AIR 1.0, using the Encrypted Local Store (ELS)—the new encryption support—offers better support for encrypted larger data files and is generally more convenient since many developers prefer to persist using the local database.
  • Flash Player 10 capabilities: Adobe Flash Player 10 is one of the most significant releases of the player, with groundbreaking new capabilities. We've updated the version of Flash Player included with AIR to version 10. For example, it's now possible to take advantage of custom filters, blend modes, and fills with Adobe Pixel Bender. AIR 1.5 also supports the new 3D effects, including perspectiv,e correct transformation, and animation of 2D plans in a 3D space (also known as postcards in space). Rich media enhancements include dynamic streaming to improve the quality of video playback based on bandwidth availability as well as support for the Speex codec for delivering high-quality audio at lower download speeds.
  • WebKit update: The version of WebKit included in AIR has been updated to a newer version. The updated version includes Squirrelfish, a new bytecode interpreter that improves the execution speed of JavaScript for common actions. Our internal tests show that HTML-based AIR applications run as much as 35% faster for many types of operations.

The Adobe Flash CS4 Professional, Flex Builder 3, Dreamweaver CS4, and Aptana Studio authoring tools have also been updated to support AIR.

In addition, we focused on fixing critical issues. If you run into a bug or a feature request that you would like to relay back to our team, please submit it using the feedback form. Members of our team read every message that comes through. If you have a general question, post it to the Adobe AIR discussion forums.

We'd also like to invite you to visit our team blog for announcements, tips, and other news related to Adobe AIR.

And be sure to check out Adobe AIR Developer Center for inspiring sample applications, articles, and tutorials.

Resource - Adobe

Alchemy

Welcome the preview release of codename "Alchemy." Alchemy is a research project that allows users to compile C and C++ code that is targeted to run on the open source ActionScript Virtual Machine (AVM2). The purpose of this preview is to assess the level of community interest in reusing existing C and C++ libraries in Web applications that run on Adobe® Flash® Player and Adobe AIR®.

With Alchemy, Web application developers can now reuse hundreds of millions of lines of existing open source C and C++ client or server-side code on the Flash Platform. Alchemy brings the power of high performance C and C++ libraries to Web applications with minimal degradation on AVM2. The C/C++ code is compiled to ActionScript 3.0 as a SWF or SWC that runs on Adobe Flash Player 10 or Adobe AIR 1.5.

Alchemy is primarily intended to be used with C/C++ libraries that have few operating system dependencies. Ideally suited for computation-intensive use cases, such as audio/video transcoding, data manipulation, XML parsing, cryptographic functions or physics simulation, performance can be considerably faster than ActionScript 3.0 and anywhere from 2-10x slower than native C/C++ code. Alchemy is not intended for general development of SWF applications using C/C++.

With Alchemy, it is easy bridge between C/C++ and ActionScript 3.0 to expand the capabilities of applications on the Flash Platform, while ensuring that the generated SWCs and SWFs cannot bypass existing Flash Player security protections.

Adobe is providing some example libraries, and developers are encouraged to share their ported libraries.

The Alchemy preview is prerelease software that is not supported by Adobe and may contain bugs. It is therefore advised that Alchemy not be used to generate code for use in production.

Watch Branden Hall, CTO of Automata Studios, discuss his experience working on the Ogg Vorbis porting project using Alchemy.
Watch Branden Hall, CTO of Automata Studios, discuss his experience working on the Ogg Vorbis porting project using Alchemy.

We are making this software available to gauge community interest in Alchemy and welcome your feedback. Please use the feedback link below to request features, make comments and report problems. Please also note that this is a research project and there is no assurance that there will be a shipping version of Alchemy.

Resource - Adobe

Adobe answers cries for 64-bit Flash on Linux

Starting to answer the clamorous demand from open-source fans, Adobe Systems plans to release an alpha version of its Flash Player technology on Monday for those using 64-bit Linux software.

Linux has moved more rapidly than Windows or Mac OS X to support 64-bit processors, in part because the developer-friendly compile-your-own-software ethos that prevails makes it easier for the technically savvy to make the switch. But one of the obstacles in the switch is that people could only use the 32-bit Flash plug-in, which meant that they only could use the 32-bit version of Firefox.

The company plans to release the software at its Adobe Max conference in San Francisco.

The 64-bit support will arrive on other operating systems later, Adobe said, but Linux fans get it first because they were the most vocal in their desire for it.

"Release of this alpha version of 64-bit Flash Player on Linux is the first step in delivering on Adobe's plans to make Flash Player native 64-bit across platforms," Adobe said in a statement. "We chose Linux as our initial platform in response to numerous requests in our public Flash Player bug and issue management system and the fact that Linux distributions do not ship with a 32-bit browser or a comprehensive 32-bit emulation layer by default. With this prelease, Flash Player 10 is now a full native participant on 64-bit Linux distributions. We are committed to bringing native 64-bit Flash Player to Windows and Mac in future releases. We expect to provide native support for 64-bit platforms in an upcoming major release of Flash Player. Windows, Macintosh and Linux players are expected to ship simultaneously moving forward."


Resource - CNET

Tuesday, October 21, 2008

Benchmarking Flash Player 10 (Updated)

he web collectively got a bit shinier this week with Adobe's release of Flash Player 10. The new version offers designers a compelling set of new features including support for rich 3D visual effects, a new antialiasing engine, an improved drawing API, support for color management, and enhanced support for streaming audio and video content. With this release, Adobe is clearly taking steps to ensure that Flash stays ahead of the curve and won't lose traction in the face of competitive pressure from Silverlight.

Typically, the release of an Internet plug-in—even one as widely used as Flash—is interesting mostly to the developers who write software for the platform, but users may have a lot to look forward to in this release, especially those using Linux or Mac OS X. In addition to strengthening Flash's media and graphics features, Adobe has also labored to improve performance and cross-platform support. Between updates to underlying technologies and some bottleneck sleuthing, Adobe says Flash performance has improved as much as 300 percent for "the rest of us." Ars Technica decided to investigate whether Adobe was merely blowing smoke in our PDFs.

To get some relatively useful numbers and real web experience with the new Flash player, we decided to compare how well the last Flash 9 release for Mac OS X and Linux performed against version 10 on a number of sites. The most significant of these sites is GUIMark, a benchmark that puts various web-based technologies like Flash and Silverlight through their paces, all while providing frame rate averages for the duration of the test. What follows are our results from GUIMarks, our CPU records, and a discussion of the relevant changes in Flash for Mac OS X and Linux; combined, this should provide a clearer picture of whether Flash 10 actually provides significant performance improvements.

Mac OS X

The Mac version shares the general improvements and enhancements Adobe introduced in Flash Player 10, like the aforementioned introduction of 3D Effects and enhancements to drawing APIs and color management. More details on the new features can be found in the release notes for the last beta release.

The most significant improvement for Mac users, however, is briefly described by Tinic Uro, a Flash engineer, on his blog. Traditionally, Flash has not been one of the Mac's strong points. It has never performed well, and a MacBook's fans are almost guaranteed to kick in when loading up just about any Flash advertisement or that game your boss keeps busting you for playing.

As we've reported before, though, Adobe's engineers have discovered a bottleneck in Flash's text rendering. The GUIMark benchmark should be very sensitive to this because it spends more than half of its time testing a single Mac OS X text function: ATSUGetUnjustifiedBounds. As you'll see from our Mac OS X results below, performance has definitely improved in many respects on Mac OS X, though some Arsians suspect that other problems may still exist with Mac OS X's NSPlugin API.

That said, let's take a look at the results of pitting Flash Player 10 against its predecessor on both a 1.6 GHz MacBook Air and a Quad 2.66 GHz Mac Pro. These results were run using the most recent versions of both players, hosted in Safari 3.1.2 on Mac OS X Leopard 10.5.5.

  • Flash 9
    • GUIMark
      • Air: 4 FPS, two separate CPU cores held steady at 103 percent
      • Mac Pro: 9.5 FPS, two separate CPU cores held collectively at 100
    • Hulu video
      • Air: 98 percent CPU
      • Mac Pro: 63 percent CPU
    • YouTube video
      • Air: 74 percent CPU
      • Mac Pro: 45 percent CPU
    • 2advanced.com
      • Air: 20 percent CPU, Menu interaction, popups, audio cues, etc. peaked at peaked at 86
      • Mac Pro: 25 percent CPU, peaked at 75
    • Winterbells
      • Air: 78 percent CPU
      • Mac Pro: 55 percent CPU
  • Flash 10
    • GUIMark Flex3
      • Air: 17 FPS, 108 percent CPU
      • Mac Pro: 28 FPS, 140 percent CPU
    • Hulu Video:
      • Air: 84 percent CPU
      • Mac Pro: 56 percent CPU
    • YouTube
      • Air: 70 percent CPU
      • Mac Pro: 40 percent CPU
    • 2advanced.com
      • Air: 20 percent CPU, peaked at 55
      • Mac Pro: 28 percent CPU, peaked at 66
    • Winterbells
      • Air: 85 percent CPU, gameplay noticeably ramped up to a more challenging speed
      • Mac Pro: 60 percent CPU, gameplay noticeably ramped up to a more challenging speed

As you can see, GUIMark results offer the best backup for Uro's claims that performance on Mac OS X has improved as much as three times. Four frames per second in Flash Player 9 on the MacBook Air, and 9.5 FPS on the Mac Pro, is, quite frankly, pathetic. While 17 FPS on the Air in Flash Player 10 isn't exactly great, it is actually over a 4x boost in performance. 28 FPS for the Mac Pro is right at 3x faster, though the GUIMarks test worked both machines noticeably harder; especially the Mac Pro. Fortunately, our CPUs were worked at least marginally less in other tests, especially web-based video, where Flash now dominates.

Linux

Flash is widely reviled by Linux users, who almost universally disdain its proprietary licensing model, lousy performance, excessive resource consumption, poor platform integration, and abysmal lack of stability. Flash is listed by Mozilla's crash reporting system as the number one cause of Firefox crashes on Linux. On Ubuntu's brainstorm web site—where Ubuntu users suggest ways that the Linux distribution can be improved—over a thousand users have voted for items that highlight the need to fix Flash's dysfunctional behavior and frequent crashes.

Although it is still too early to tell if the stability problems have been addressed, the benchmarks clearly show that performance is on the rise. Adobe has also fixed several major bugs and added some Linux-related features that improve the Flash user experience. Benchmarks on Linux, which were conducted with GUIMark on my Mac Pro running Ubuntu 8.04, show modest improvements. Flash 9 clocked in at roughly 14 FPS, while Flash 10 boosted that to about 22 FPS.

Previous versions of Flash exhibit a very frustrating z-ordering bug that caused Flash content to always be drawn on the very top layer, where it could obscure dynamic HTML elements like drop-down menus. This problem was caused by lack of proper WMODE support in Flash and in Firefox. This long-standing bug has finally been fixed, and drop-down menus are now correctly displayed on top. Users will need Firefox 3.0.2 or higher, however, in order for this to behave properly.

Another big improvement for Linux users is the addition of support for Flash's video camera functionality. Adobe's Mike Melanson described this feature back in July when it appeared in beta 2. Adobe collected feedback and camera information from users to help fine-tune the camera support. It is implemented with the Video4Linux v2 API, which is tightly integrated with the Linux kernel and supports a wide range of devices.

Adobe has also stepped up its packaging efforts to better accommodate Linux users. With the release of Flash 10, Adobe's web site now provides the plugin in a convenient DEB package designed specifically for Ubuntu. This is offered alongside an RPM package and a binary tarball. It's also worth noting that the new version of Flash is already packaged and available from the restricted repository in Ubuntu 8.10.

Although Adobe has addressed some of the biggest problems that have been troubling Linux users, there are still some aspects of Flash that will leave them dissatisfied. There are still no 64-bit builds, for instance, and most of the components of the Flash player plugin are still proprietary and closed. Several open source software projects, including Gnash and Swfdec, aim to eliminate this dependence on Adobe by creating completely open implementations of the Flash player. These projects are maturing steadily and could eventually displace Adobe's implementation on Linux.

Conclusion

The latest version of Flash offers tangible improvements for users and for designers. The growing emphasis on strong cross-platform support reflects the increasing relevance of alternative operating systems in the technology industry. Adobe's efforts to improve Flash on Linux and Mac OS X is a tacit acknowledgment of Apple's rising marketshare and Linux's modest success on netbooks. It is also a sign that Adobe is aiming to make Flash a stronger solution for cross-platform application deployment through its popular AIR runtime. This is further illustrated by Adobe's commitment to AIR on Linux and recent decision to join the Linux Foundation.

Flash's massive install base gives Adobe a lot of power, but the company's dominance in the rich web content space hasn't made it lazy. Adobe is clearly capable of holding its own against a Silverlight incursion by delivering technical improvements that ensure Flash doesn't lose its shine.

Update - Now with more Windows benchmarks

Vista

The original focus of this piece was on the platforms where the Flash player has traditionally performed very poorly. But, by popular request, we ran the tests again on the same Quad 2.66 Mac Pro with 6GB of RAM, but this time in Firefox 3.0.2 on Windows Vista running under Boot Camp (no virtualization).

As the numbers will show, Flash performs far better in Vista versus Mac OS X running on the same hardware, and it actually improved slightly with the version 10 update.

  • Flash 9
    • GUIMark: 45 FPS, 54 percent CPU
    • Hulu: 9 percent CPU
    • YouTube: 8 percent CPU
    • 2advanced: 4 percent CPU, peaking at 27
    • Winterbells: 12 percent CPU, peaking at 16
  • Flash 10
    • GUIMark: 46 FPS, 54 CPU
    • Hulu: 7 percent CPU
    • YouTube: 6 percent CPU
    • 2advanced: 2 percent CPU, peaking at 31
    • Winterbells: 9 percent CPU, peaking at 14

Resource - Ars Technica

Wednesday, October 15, 2008

Flash Player 10 Is Live

The release version of Flash Player 10 is out there and available for download. Hopefully, it will soon be available from your favorite automated update repository since such package management should resolve the new dependencies needed for Flash Player 10.

Well, that's really all I have to say at the moment. Release announcements for final Player versions are always a tad anticlimactic since we have already been doing beta and prerelease work for months. Though it should be noted that the Linux download page now hosts .deb packages in addition to .tar.gz and .rpm.

Resource - Penguin.SWF