--- Melvin Smith <[EMAIL PROTECTED]> wrote:
> Burp, more spam from me...

And there was much rejoicing... (rah! yay!)

> As I see it there are several immediate questions to be
> answered for Parrot
> IO.
> Feel free to answer with Y/N or Maybe.

All of the above?

> 1) Nick Ing-Simmons' Perl IO for Perl5
>      a) Could it easily support the features that Dan
> wants in Parrot IO
> such
>           as async stuff?

Not really - its API is derived from ANSI stdio, which is
not in the least bit useful as an async API.

>      b) Does it represent as an abstraction what we want
> as an API for
> Parrot?

No. (See above.) Nevertheless, the basic concept of I/O
layers _is_ one we want and need.

>      c) Is there a copyright issue?
>      d) If (a&b&c) has anyone approached Nick about
> porting?
>      e) If not then goto (2)....
> 
> 2) What architecture about Perl IO does not fit what Dan
> wants for Parrot
>      (if there are any).

Perl(5)IO is not an async API - it has no way of passing in
completion routines, for instance.
 
> 3) Perl IO has conditional compilation for using stdio.
> Dan has said no
> STDIO
>      but are we going to abandon conditional support for
> Parrot?
>      (I vote for ditching conditional STDIO support
> because then its easier
>           to stop thinking in STDIO terms...)

Unfortunately, I don't think we can completely do without
stdio in parrot for one reason: miniparrot. Without doing a
full configure.pl run, the _only_ I/O API we're guarranteed
is a basic stdio. However, that being said, what we'll
likely want to do is have a statically linked
Miniparrot::IO module that provides wrappers over C stdio
and we'll use _that_ in configure.pl. That way, we don't
have to clutter up ParrotIO with stdio cruft.
 
> 4) For platforms out there with broken or no async IO
> support, do we
> emulate
>      async (background thread or something) or just say,
> "tough!?"

Emulate as best we can. Nevertheless, if you're running 
MS-DOS or some equivalently-brain-damaged OS, there's not
much we can do. But then, if you're writing serious event
loops on DOS, you've probably got other problems to solve
as well.

> 
> I want comments now or else I threaten to post replies to
> myself in a
> creepy third
> person way.

No! Anything but that. BKS hates things like that!

-- BKS

__________________________________________________
Do You Yahoo!?
Check out Yahoo! Shopping and Yahoo! Auctions for all of
your unique holiday gifts! Buy at http://shopping.yahoo.com
or bid at http://auctions.yahoo.com

Reply via email to