Perl / PPCs

This repository is for Requests For Comments - proposals to change the Perl language.
61 stars 22 forks source link

Namespace for Builtin Functions #6

Closed leonerd closed 2 years ago

Grinnz commented 2 years ago

👍 to everything here!

The namespace builtin is owned by GBARR on CPAN (but not in use), so this will need to be transferred to P5P for the purpose of providing the dual-life module. It last appears to have been used for https://metacpan.org/release/GBARR/builtin-0.04 in 1998 (now deleted). The easiest way to get it transferred would be to contact GBARR, and failing that contact the PAUSE admins.

EvanCarroll commented 2 years ago

@leonerd on the mention of POSIX, how will that work without redesign? Currently when you import POSIX.pm you grow the resident size of perl substantially because use POSIX () results in massive opcode bloat. Will the functionality required here by POSIX.pm result in a reimplementation of POSIX.xs? If so, I would love to see this kind of functionality expanded such that the rest of POSIX could be à la carte? That is to say, that you could pick any functional subset of POSIX.pm and not pay the 10x penalty in RSS.