Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

gnat (29)

gnat
  (email not shown publicly)

Journal of gnat (29)

Wednesday June 25, 2003
10:19 PM

Threads vs POE

[ #13074 ]
I just wrote threaded and POEd server recipes for the second edition of the Perl Cookbook. Threads result in nice and simple code, but having to rebuild Perl is major rectal pain and it is the nature of threads to result in fantastically confusing errors and, periodically, core dumps. POE is infinitely more complex to write in, but thanks to the miracle of PoCo (POE Components) ... it Just Worked.

I have to say that Messr Bergman is brave. Very brave. I made the mistake of asking him at YAPC what he was hacking on, and it turns out he's messing with memory allocation. I think I may have found a followon to the hypothesis that given enough time, every piece of software will grow to include an XML parser, SMTP client, and web browser. That's upward growth--towards higher complexity and userland functionality. There's also a trend toward downward growth: given enough time, every piece of software will grow to include its own memory management (heap), I/O library (stdio), and database storage system (filesystem)--every program is destined to have its own operating system underneath it.

--Nat

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • There's also a trend toward downward growth: given enough time, every piece of software will grow to include its own memory management (heap), I/O library (stdio), and database storage system (filesystem)--every program is destined to have its own operating system underneath it.

    I think that more applications are likely to have their own operating system due to Microsoft's Server 2003 (which includes Connectix VM tech) being released later this yet. When you can have your own virtual machine dedicated