* 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. -- MarkOvThread Previous | Thread Next