The title says it all. I'm just wondering because I am trying to understand what asynchronous programming is and it seems similar to event driven programming I learned for swing and libgdx.
Asked
Active
Viewed 810 times
0
-
2They're related, but not strictly a 1:1 relationship. async programming can use events, but that's just one way of getting things done. – Marc B May 30 '14 at 15:03
1 Answers
1
Asynchronous programming is when you run long running tasks
in the background
, so that you don't have a blocking UI. Event driven programming is when the application in question is listening for events, say a user interaction or a notification to be received, and then a task is performed. They are not the same. There may be listeners for user interactions
or notifications
. That's a different issue.

esh
- 2,842
- 5
- 23
- 39