wcap_small

There currently aren’t any options for true multi-threading in Flex or AIR. Apparently, Adobe thinks that every app that exists is nothing more than a webapp that needs one or two desktop capabilities. Projects such as Merapi prove that developers greatly desire much more power than is currently being given to us. For my own application WCAP, I need to do some pretty heavy-duty computations and matrix manipulations to analyze a schematic. Right now, I’m simulating threading by breaking up the calculations into chunks and updating the UI with a progress bar between each chunk. This always uses only one of my two processor cores and ends up taking a significant amount of time because my software is crippled. I don’t use Merapi because it’s not easily deployable/updatable along with my AIR app.

It’s also not feasible for me to put the calculation logic on a server and have it calculate remotely. This software needs to be able to run out in the field or at the job site where a net connection may not be available.

I made a video (click the picture above) of my software just so folks can get a good understanding of why this is really needed and not just a want.

Post to Twitter

Posted by Andrew, filed under AIR, Flex. Date: January 15, 2009, 9:24 am | 8 Comments »

8 Responses

  1. Jason Langdon Says:

    Have you had a look at pixel bender? – http://labs.adobe.com/technologies/pixelbender/

  2. Peter Alvin Says:

    I’m starting to develop a large app in AIR. Looks like you are a really experienced developer with Flex, etc. In your opinion, is AIR ready for prime time?

  3. Brian Bishop Says:

    Maybe you could have a C# app with a httplistener listening for calls on a localhost port. Flex could then send HttpService requests to this pseudo-server, which could carry out the logic. I think.

  4. Andrew Westberg Says:

    @Brian,

    I’m probably going to end up writing a native C++ app to handle the calculations once AIR 2.0 is released. Although, that really defeats the purpose of AIR being cross-platform. You then lose the capability to use the AIR updater and you have to compile for windows/mac/linux separately.

  5. A Threaded Discussion: Is Flash Player Really a Clunker? Says:

    [...] everyone. Adobe AIR brought with it expectations of a powerful cross-platform desktop environment, but it’s not .Net. It allows you to run ActionScript on a PC ┬ábut is limited if you want to program the PC with [...]

  6. Do Adobe Air apps support multicore processing? Says:

    [...] say that Adobe Air does not support multu-threading. Here are some sources for that claim. There may be some hacks to make it run in multithreading but as [...]

  7. Car Leasing For Bad Credit Says:

    They must power over the mountain passes and spare the children the embarrassment of age.
    Corporations for instance BMW plus the Mercedes
    Benz Group let car lease swapping as being a technique to obtain new purchasers though satisfying
    the wants with the older clientele in this situation, the want to swap the car lease.

    Of course everyone hires cars when going on holiday and
    this makes a lot of sense as a way to get around the area
    you’re visiting and avoid understanding public transport systems in a foreign language.

  8. headachehomeremedy.blog.com Says:

    Thanks for ones marvelous posting! I really enjoyed reading it, you will be a great author.
    I will make certain to bookmark your blog
    and will eventually come back later on. I want to encourage one to continue your great job,
    have a nice holiday weekend!

Leave a Comment

 
Your comment

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Please note: Comment moderation is enabled and may delay your comment. There is no need to resubmit your comment.