Concurreny
Juten Tach,
just saw this talk about concurrency and coordination on channel9 and i’m stunned. Great conversation.
I especially like the statement, that we actually do not have a problem of concurrency, but more a problem of coordination and dealing with failure. Makes sense to me.
In Flash and Actionscript we do not have suport for threading directly, but we do have concurrency a lot. Flash developers are dealing with asynchronous calls for requesting servers, loading files or creating animations for years now, it’s our everyday job. I think the concurrency model in Flash is a great one, because it hides the mess of thread handling and at the same time gives us the power of doing things like animation and requests concurrently.
One thing though, that i used to think about lately is, if it wouldn’t be a cool idea to have the ability to create your own asynchronous requests. Like being able to declare a function to work asynchronously and dispatch an event once it’s finished. It wouldn’t make the language too complex, but it would add some new possibilities in building chronologically independent service components, that do not hold back the rest of the application while computing some heavy stuff.
And also add Events to become part of the Actionscript language, that’s overdue

