Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

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

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

kthakore opened this issue Jul 26, 2011 · 2 comments
Assignees
Labels

Comments

@kthakore
Copy link
Member

[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.

@ghost ghost assigned kthakore Jul 26, 2011
@kthakore
Copy link
Member Author

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.

@kthakore
Copy link
Member Author

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
Labels
Projects
None yet
Development

No branches or pull requests

1 participant