Bug#653133: ITP: libmath-random-mt-perl-perl -- Pure-Perl Mersenne-Twister module to generate random numbers
On 04/01/12 01:34, Ansgar Burchardt wrote:
On 01/03/2012 03:43 PM, Florent Angly wrote:
Good question! I see three advantages of the Pure-perl approach:
1/ It should work on all platforms, including the hurd-i386, where the
C/XS approach does not work
The failure on hurd-i386 is trivial to fix (just include stdint.h like
2/ Some Perl developers prefer to not rely on Perl modules that use C/XS
because this allows them to more easily make and deploy tarballs that
contain all dependencies
Is this relevant for Debian? I would assume to already use a local
version for development if they plan to bundle it later as well.
3/ There is at least one method in the pure Perl version that the C/XS
approach does not have
Very well! It looks like my efforts will be better spent adding the new
features to Math::Random::MT instead of packaging the Pure-perl version.
4/ I have interacted with the developer of the pure Perl module but have
had no such luck with the developer of the C/XS version. The pure Perl
version may hence be easier to maintain in Debian in the future.
We had the same discussion for the Digest::SHA::PurePerl module in
the past where several people raised the same point (pureperl
re-implementations are usually not needed on Debian).