ASYNC Perl 5 vs Perl 6 Grudge Match
Here are some examples for DC.pm wherein we will attempt to compare and contrast the various asynchronous APIs in Perl 5 and Perl 6.
The intent is to keep the examples as simple and easy to understand for the purposes of discussion and ease of translation.
Demonstrates low-level non-blocking sockets in a single thread using the archaic, but simple "finger" protocol.
Demonstrates higher level non-blocking finger server. Mainly just designed to test "anyevent-finger.pl"
Demonstrates high level HTTP non-blocking in a single thread using Mojolicious.
Stupid simple threads example that demonstrates preeemtive async.
The term "Grudge Match" in the title of this document is there entirely for marketing reasons. We reason that people are more likely to click on a link if it looks contraversial, but the intent of this project is to enlighten, not to divide us.
- Graham Ollis <firstname.lastname@example.org>