develooper Front page | perl.perl5.porters | Postings from August 2011

Re: The future of POSIX in core

Thread Previous | Thread Next
From:
Mark Overmeer
Date:
August 31, 2011 14:01
Subject:
Re: The future of POSIX in core
Message ID:
20110831210111.GH8712@moon.overmeer.net
* Leon Timmermans (fawaka@gmail.com) [110831 15:47]:
> On Tue, Aug 30, 2011 at 10:06 PM, Mark Overmeer <mark@overmeer.net> wrote:
  ...
> > POSIX.xs/pm should only provide the bare minimum interface, mapped as
> > narrow as possible on the functions where it can. Fancy OO models and
> > such around these functions should not be part of this.
> 
> There's a difference between OO abstractions around system resources
> and OO abstractions around data. POSIX.pm is already doing the latter
> (POSIX::SigAction, POSIX::SigSet) and that makes perfect sense.

Internal library structures, like sigsets, need some support from XS.
Gladly, there are only a few of those.

By strictly limiting the POSIX module to a minimum interface it stays
maintainable. The higher abstractions should not need any XS anymore,
and compete freely on CPAN.
-- 
               MarkOv

Thread Previous | Thread Next


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