From: Donovan A. <al...@Zo...> - 2007-02-13 20:55:58
|
We are sliding way sideways here... =20 Threads and cooperative multitasking are not mutually exclusive. To = really get optimal performance for your cpu cycles & memory buck, using = both is ideal. IMHO, this is more true when the CMT technology is also = an event loop. =20 However, I totally agree with you in principle Foo. Using rock spears = (and struggling to melt copper) in the iron age. If perl wasn't one = hell of a good rock spear this wouldn't be so much of a concern. =20 I must have missed something somewhere...is 5.10 & 6 going to have = something new on the threading front? =20 =20 ________________________________ From: wxp...@li... on behalf of Foo JH Sent: Tue 2/13/2007 4:30 AM To: Eric Wilhelm Cc: wxp...@li... Subject: Re: [wxperl-users] alternatives to POE > The connection can be asynchronous (at the socket level) without the > Perl code needing to be threaded. > =20 You mean a non-blocking socket call. If I understand POE correctly you have to alter the flow of the code so that the application operates on the concept of states. So we're back to cooperative multitasking, which I find unnecessary given the maturity and stabilty of today's OSes, including Windows. >> It seems to me that everyone knows how bad threading is for Perl, and >> rather than openly admit it, we regress (again, another arguable >> position) into cooperative multitasking. IMHO not the right thnig to >> do. >> =20 > > I don't think there's any denial in play. What do you propose? > =20 I don't think with 5.8.x there's much that can be done. I do look forward to 5.10/ 6.0 where I expect threading to be on par (at least) with the current flavours of programming languages. Perl really needs to have something to show for this year, imho. Don't see me as a whiner on the downsides of Perl. There are quite a few workarounds on this issue, so life goes on. Even then, workarounds are merely short-term measures. -------------------------------------------------------------------------= Using Tomcat but need to do more? Need to support web services, = security? Get stuff done quickly with pre-integrated technology to make your job = easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache = Geronimo http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=3D= 121642 _______________________________________________ wxperl-users mailing list wxp...@li... https://lists.sourceforge.net/lists/listinfo/wxperl-users |