>>>>> "LW" == Larry Wall <[EMAIL PROTECTED]> writes:

  LW> I can tell you that I want both selects to be dead, but again, I'll
  LW> have to translate Perl 5 to something.  But some of these things
  LW> can probably be translated to things like

  LW>     Perl5DeprecatedEmulationDoNotUseEverEverAgain::select(MyHandle);

  LW> Though we might just be able to resurrect the other select through
  LW> the magic of MMD.  Bitmaps of file descriptors just aren't the wave
  LW> of the future though.

with parrot supporting real async i/o (file and network) and a core
event loop, we can allow those features to be exposed in perl6. this
means dropping 4 arg select is easy. in some rfc's of mine (i have to
look them up) i proposed some event stuff but as you state that hasn't
been addressed in any A's yet. this could be loaded from modules and be
written in parrot/perl6 so it doesn't be in the core lang but it still
would be useful to spec it out so that we have a good api that is easy
to use.

  LW> Given the example of select above, I guess for things like the
  LW> OS dependent calls, we also have the option of demoting them to a
  LW> global module that you *can* import but can also get at through the
  LW> package name.  That is, the package is automatically there.  Arguably,
  LW> a lot of these should be in POSIX:: or some such.  Maybe we want to
  LW> hide abstractions like "POSIX" though in favor of sorting out the
  LW> functionality some other way.

i am not sure if posix has an event api. but there is event.pm to look
at, as well as the libevent library (which wraps several different
kernel event api's). but they probably won't be compatible with parrot's
event core (which is designed by dan). anyhow this area needs to be
addressed from the api point of view and then it can be decided where it
resides, in a module (best bet IMO) or core language.

uri

-- 
Uri Guttman  ------  [EMAIL PROTECTED]  -------- http://www.stemsystems.com
--Perl Consulting, Stem Development, Systems Architecture, Design and Coding-
Search or Offer Perl Jobs  ----------------------------  http://jobs.perl.org

Reply via email to