On Sat, 05 May 2018 21:16:08 +0200, Robert Lemmen wrote: > we are currently thinking about different ways to package perl 6 > modules, and would love to get your ideas an input! the basic problem is > that perl 6 pre-compiled modules on load, and we have two ways to deal > with this: ship the precompiled modules, making each package depend on a > fairly specific runtime version, or pre-compile on module install and > runtime upgrade. Details at https://wiki.debian.org/Perl6PreCompProposal I'm afraid I can't really help here ... My gut feeling says that something like the python solution might be ok for perl6 as well. > Any input would be greatly appreciated, but I also have specific > questions around your experiences with the perl 5 -xs- modules: Niko and Dom can probably offer more insights but I'll try anyway: > - are the tight relationships between the packages and the runtime and > the resulting need for transitions a problem? Not really. We have 4 package which need the exact perl dependency, the rest is fine with 5.2x, so needs a transition only (once a year) per a next major release. > - how does this scale? would it still work if all modules were involved, > not just the -xs- ones? That might be difficult. The annual transition, which involves 500-600 packages needs quite some preparation (due to backwards-incompatibale changes) and takes a few days. If this involved a few thousand packages it might take quite some time. > - you need to do such a transition for each major runtime upgrade, how > would you feel if you had to do this more often? Would it be feasible > to do it every month? I guess not as it would take so long. But I guess for perl6 we're not talking about thousands of packages :) AFAIK there are other languages (haskell?, others?) which needs rebuilds of all libraries regularly, so this is not impossible in general. > - the +b1 +b2 version of the modules, are they automatically created? > How? They are automatically created by the binNMUs scheduled by the release team, as described on https://wiki.debian.org/Teams/ReleaseTeam/Transitions , as linked from https://wiki.debian.org/Perl6PreCompProposal . Cheers, gregor -- .''`. https://info.comodo.priv.at -- Debian Developer https://www.debian.org : :' : OpenPGP fingerprint D1E1 316E 93A7 60A8 104D 85FA BB3A 6801 8649 AA06 `. `' Member VIBE!AT & SPI Inc. -- Supporter Free Software Foundation Europe `- NP: Omara Portuondo & Chucho Valdes: Cenizas
Attachment:
signature.asc
Description: Digital Signature