user-pic

TFBW

  • About: The Famous Brett Watson
  • Commented on Supercharge Event Loops with Thread::Subs
    Thread::Subs spawns worker threads once at startup; the cost per sub-call involves making a shared clone of the arguments and managing the queues, not creating new threads. This is one of the reasons I went with a static worker pool...
  • Posted Supercharge Event Loops with Thread::Subs to tfbw

    There are two issues with event loop coding, related to the need to maintain an asynchronous, non-blocking style.

    • It's harder to write and maintain than linear, blocking code.
    • Despite all the asynchronous behaviour, it's still single threaded.

    You can break ou…

Subscribe to feed Recent Actions from TFBW

No responses to comments.

Subscribe to feed Responses to Comments from TFBW

About blogs.perl.org

blogs.perl.org is a common blogging platform for the Perl community. Written in Perl with a graphic design donated by Six Apart, Ltd.