Adobe AIR 2: many news, and multithread support!

Finally a sim­ple way to enable heavy cal­cu­la­tion oper­a­tions in Adobe AIR, using the new Native process API users will be allowed to call and com­mu­ni­cate with native appli­ca­tions, so pass­ing an com­plex struc­ture and let­ting the CPUs to do the job using C++/C/Java/.NET will be soon allowed.

I faced this prob­lem ana­lyz­ing huge excel logs using an Excel Action­script library, the whole inter­face got  frozen until the end of processing.

I’ll try as soon as pos­si­ble how the appli­ca­tion will work using this new approach.

Athers new really cool addi­tions (copy and paste from Adobe website):

  • Server sock­ets sup­port: You can lis­ten for incom­ing socket con­nec­tions. Using the server socket API, it is now pos­si­ble to build light­weight servers that run locally, and to com­mu­ni­cate across appli­ca­tions using TCP sockets.
  • UDP sock­ets: You can send and receive mes­sages using the User Data­gram Pro­to­col (UDP). For real-time, time-sensitive appli­ca­tions, includ­ing mul­ti­player games, you may find that UDP sup­port in AIR will help pro­vide a bet­ter user experience.
  • TLS/SSL sock­ets:You can now con­nect to a server that requires TLSv1 or SSLv3 for socket com­mu­ni­ca­tions. For devel­op­ers, this means that you have new cryp­to­graphic pro­to­cols avail­able for access­ing sen­si­tive data over net­work that can help you build more secure applications.
  • More effi­cient CPU usage: On the Mac, with­out code change, many appli­ca­tions are con­sum­ing 50% less CPU usage when run­ning in the background.
  • Reduced mem­ory usage: With­out rebuild­ing the appli­ca­tion, many AIR appli­ca­tions such as Tweet­Deck are see­ing reduc­tions of mem­ory between 15–20%.
  • Smaller run­time installer sizes: The run­time installer sizes for Mac OS and Win­dows are smaller than AIR 1.5.

Leave a comment

Your comment