develooper Front page | perl.perl6.language | Postings from July 2006

Re: S?? OS interaction, POSIX and S29

Thread Previous
From:
Yuval Kogman
Date:
July 11, 2006 14:02
Subject:
Re: S?? OS interaction, POSIX and S29
Message ID:
20060711210132.GL19536@woobling.org
On Tue, Jul 11, 2006 at 16:46:40 -0400, Aaron Sherman wrote:
> There's a bit at the end of the current S29:
> 
>  =item A/S??: OS Interaction
> 
> I've taken on a few of these, and in doing so found that I was making
> some assumptions. I'd like to share those and see if they make sense:
> 
>       * POSIX will be a low-level module that slavishly reproduces the
>         POSIX interfaces as closely as possible (perhaps moreso than
>         Perl 5)
>       * OS, or whatever we call the core OS interaction module, will
>         have an interface which is entirely driven by Perl 6 and may not
>         resemble POSIX much at all.
>       * OS will use POSIX to implement its functionality, so only POSIX
>         need know how to get at the lowest level.
> 
> Will that be reasonable? Am I stomping on anything?

I think OS is kind of bad.

Perl 6 is designed to be embeddable, retargetable, etc.

Sometimes the environment well be JS like, that is you have
(possibly) readonly environment calls (gettimeofday, etc), but not
others (IO)...

Ideally I would like to have something more partitioned, and with a
less binding name than OS.

That said, there's no reason why there shouldn't be a convenience
wrapper around a more partitioned set of APIs, that provides a more
toolchain like approach, and keeps the docs together.

-- 
  Yuval Kogman <nothingmuch@woobling.org>
http://nothingmuch.woobling.org  0xEBD27418


Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About