Hello Monks,

I am writing a yet another async IO framework for perl, this time I humbly think it's a bit more interesting than anything else, something different from the usual combination of objects and callbacks.

I should very much like to ask those of you who use IO, preferably async IO, in perl, to take a look at the module with a critical eye, because I feel that there should be room for improvement, namely, implementation of features and uses that I haven't thought of. The suggestions I'd be most interested in would be new uses of the framework - of any kind, real or imaginary. New classes and/or protocols - right now there's support for http, https, dns, and snmp, and I am of course aware that there are more, I just don't want to spend time implementing a protocol that no one needs. The examples of use, - if the existing ones aren't straightforward enough, I can't estimate that myself. Finally, the language - I'm not a native speaker, so I can't really judge if there are any lame phrases. But really, any suggestions are welcome.

The module name is IO::Lambda. The idea behind it is to minimize the amount of programming required for async IO, and use better syntax. I think I succeeded here more or less, and that could especially be seen when using the module for programming complex protocols and state machines, not just for one or two callbacks. I deliberately don't give any example code here, and don't go further with the description, because I don't what it to spoil the first impression from the module documentation itself. However, I can write a separate, longer article, with examples and meditations and what not, if anyone would be interested.


In reply to IO::Lambda - suggestions wanted by dk

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.