Bug#653133: ITP: libmath-random-mt-perl-perl -- Pure-Perl Mersenne-Twister module to generate random numbers

2012-01-05 Thread Florent Angly

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 
on Linux).



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


get_seed/set_seed?

Yes



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[1] in 
the past where several people raised the same point (pureperl 
re-implementations are usually not needed on Debian).
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.

Regards,
Florent



Regards,
Ansgar

[1] http://bugs.debian.org/556386







--
To UNSUBSCRIBE, email to debian-wnpp-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4f055be6.1070...@gmail.com



Bug#653133: ITP: libmath-random-mt-perl-perl -- Pure-Perl Mersenne-Twister module to generate random numbers

2012-01-03 Thread Ansgar Burchardt

Hi,

On 12/24/2011 12:32 PM, Florent Angly wrote:

* Package name: libmath-random-mt-perl-perl
This module implements the same pseudorandom number generator found in 
Math::Random::MT

 (libmath-random-mt-perl Debian package), which is implemented in C/XS.

What would be the use of the pure-perl version in Debian? The XS 
implementation is available on all architectures (except hurd-i386 where 
the package failed to build).


Regards,
Ansgar



--
To UNSUBSCRIBE, email to debian-wnpp-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4f02ed51.1000...@debian.org



Bug#653133: ITP: libmath-random-mt-perl-perl -- Pure-Perl Mersenne-Twister module to generate random numbers

2012-01-03 Thread Florent Angly

On 03/01/12 21:58, Ansgar Burchardt wrote:

Hi,

On 12/24/2011 12:32 PM, Florent Angly wrote:

* Package name: libmath-random-mt-perl-perl
This module implements the same pseudorandom number generator found 
in Math::Random::MT

 (libmath-random-mt-perl Debian package), which is implemented in C/XS.

What would be the use of the pure-perl version in Debian? The XS 
implementation is available on all architectures (except hurd-i386 
where the package failed to build).


Regards,
Ansgar


Hi Ansgar,

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
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
3/ There is at least one method in the pure Perl version that the C/XS 
approach does not have
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.

Regards,

Florent



--
To UNSUBSCRIBE, email to debian-wnpp-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4f03140c.8070...@gmail.com



Bug#653133: ITP: libmath-random-mt-perl-perl -- Pure-Perl Mersenne-Twister module to generate random numbers

2012-01-03 Thread Ansgar Burchardt

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 
on Linux).



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


get_seed/set_seed?


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[1] in 
the past where several people raised the same point (pureperl 
re-implementations are usually not needed on Debian).


Regards,
Ansgar

[1] http://bugs.debian.org/556386



--
To UNSUBSCRIBE, email to debian-wnpp-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4f032016.5040...@debian.org



Bug#653133: ITP: libmath-random-mt-perl-perl -- Pure-Perl Mersenne-Twister module to generate random numbers

2011-12-24 Thread Florent Angly
Package: wnpp
Severity: wishlist
Owner: Florent Angly florent.an...@gmail.com

* Package name: libmath-random-mt-perl-perl
  Version : 1.06
  Upstream Author : Dr James Freeman airmedi...@gmail.com
* URL : hhttp://search.cpan.org/dist/Math-Random-MT-Perl/
* License : Artistic License 2.0
  Programming Lang: Perl
  Description : Pure-Perl Mersenne-Twister module to generate random numbers

Math::Random::MT::Perl is a pure-Perl implementation of the Mersenne Twister 
algorithm. Mersenne Twister is a 32 bit pseudorandom number generator developed 
by Makoto Matsumoto and Takuji Nishimura. The algorithm is characterised by a 
very uniform distribution but is not cryptographically secure. What this means 
in real terms is that it is fine for modeling but no good for crypto.

This module implements the same pseudorandom number generator found in 
Math::Random::MT (libmath-random-mt-perl Debian package), which is implemented 
in C/XS.



-- 
To UNSUBSCRIBE, email to debian-wnpp-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20111224113259.21208.65599.reportbug@bombadil