Re: new event loop
[email protected] (Uri Guttman)
| Newsgroups | perl.loop,perl.perl6.internals |
|---|---|
| Message-ID | <[email protected].> |
>>>>> "EH" == Espen Harlinn <[email protected]> writes: EH> I think most (all???) of what is needed can be found at: EH> http://www.cs.wustl.edu/~schmidt/ACE.html looking it over EH> I know it's C++, but this framework is well designed - and it is EH> portable :-) (in other words: it has been ported to an impressive EH> number of platforms). The features (read patterns) that can be EH> found in this library could be integrated into perl, or possibly EH> perl could be built on top of ACE. Adding support for CORBA would EH> then be a natural extension to perl since everything else would be EH> in place. it looks pretty powerful which is one reason it may not be good to use in perl. we don't expect to be doing CORBA level stuff in the core. :) perl6's event loop will need to be tightly integrated with the op dispatch loop and possibly some other critical subsystems. also the memory management scheme we use may not be compatible with the c++ one in ACE. using it as a possible module in perl5 is possible. maybe all we have to do is wrap it with inline c. brian, want to help out here? we can define a perl level api and wrap the library with perl and c++ to handle the mapping. ACe doesn't seem to support async file i/o but we can add that on our own. i think having a common api over all the different async file i/o api's will be very popular. we can do this in the perl5 event module. uri -- Uri Guttman --------- [email protected] ---------- http://www.sysarch.com SYStems ARCHitecture and Stem Development ------ http://www.stemsystems.com Learn Advanced Object Oriented Perl from Damian Conway - Boston, July 10-11 Class and Registration info: http://www.sysarch.com/perl/OOP_class.html