develooper Front page | perl.perl6.language | Postings from June 2005

Re: Musing on registerable event handlers for some specific events

Thread Previous | Thread Next
Gaal Yahas
June 8, 2005 13:05
Re: Musing on registerable event handlers for some specific events
Message ID:
On Wed, Jun 08, 2005 at 12:29:33PM -0700, Larry Wall wrote:
> There will certainly be an event manager for all sorts of events floating
> around in Perl 6.  The main trick will be to hide this from the people
> who aren't interested.  The other trick will be to actually spec it,
> since up till now I've assumed that it should be specced by the people
> who are actually into that sort of thing.  Looks like you're one of
> them.  :-)

There's the touchy issue of what minimum compatibility level we're
promising to deliver on all platforms. This is an issue in pugs already,
where Windows GHC isn't compiled with POSIX libraries so we're stumped on
the interface for even relatively basic things, such as how (or whether) might offer O_EXCL.

Is part of the vision something like the explicit cross-platform nature
of Java? Will I be able to write Perl6 code with a certain flag that
possibly limits my choice of modules/builtins, but which promises me
identical behavior on all supported platforms?

To take a notorious example, you mentioned fork() -- if this event manager
becomes part of Perl6, does that mean we're required to emulate fork()
on win32?

Gaal Yahas <>

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About