Investigate whether writing AnyEvent::Impl::SDL makes sense #66

Open
kthakore opened this Issue Jul 26, 2011 · 2 comments

Comments

Projects
None yet
1 participant
Owner

kthakore commented Jul 26, 2011

[AnyEvent] is a library that provides a common API to the various event loops that exist for Perl. If you write asynchronous code using the AnyEvent API, it should theoretically work with any event loop that Perl supports. (Think of it as the DBI of event loops.)

Anyway, it might make sense to create an AnyEvent adapter for SDL, so that apps that use SDL can take advantage of the growing number of AnyEvent-based libraries that are being released.

kthakore was assigned Jul 26, 2011

Owner

kthakore commented Jul 26, 2011

Author: beppu
Time: 1257990410
Field: comment
Value: I am not yet sure whether it even makes sense to write this module. I'm currently investigating this.

Owner

kthakore commented Jul 26, 2011

Author: rshadow
Time: 1301044945
Field: comment
Value: We can use it for:

  • Async IO for long loading data from files and draw animation for it
  • Timers
  • AnyEvent::Socket for non blocking networking
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment