Acme-CPANModules-XSVersions
view release on metacpan or search on metacpan
NAME
Acme::CPANModules::XSVersions - List of Perl modules which have XS
implementation or backend
VERSION
This document describes version 0.004 of Acme::CPANModules::XSVersions
(from Perl distribution Acme-CPANModules-XSVersions), released on
2023-09-05.
SYNOPSIS
To install all XS versions of PP modules currently installed on your
system:
% perl -MAcme::CM::Get=XSVersions -MModule::Installed::Tiny=module_installed -E'for (@{$LIST->{entries}}) {
next unless module_installed($_->{module}) || $_->{pp_module} && module_installed($_->{pp_module});
say $_->{xs_module};
}' | cpanm -n
(Note: To run the above snippet, you need to install
Acme::CPANModules::XSVersions which you're reading right now, as well as
Acme::CM::Get, Module::Installed::Tiny, and cpanm.)
DESCRIPTION
This list catalogs (pure-) Perl modules that have their XS counterparts
("fast versions"), usually in separate distributions so the installation
of the XS version is optional. The two versions of the modules provide
the same interface. When the two modules are different in interface,
they are not listed here.
Usually authors use "::XS" or "_XS" suffix for the XS version (for
example, Type::Tiny is the PP/pure-perl version and Type::Tiny::XS is
the XS version). Or sometimes the other way around is done, a module is
an XS module and another with suffix "::PP" or "_PP" is the PP version.
And often a module like "JSON" is one that can automatically use the XS
version ("JSON::XS") when it's available or fallback to the PP version
("JSON::PP").
Additions much welcome.
ACME::CPANMODULES ENTRIES
Algorithm::Diff
Author: RJBS <https://metacpan.org/author/RJBS>
XS module: Algorithm::Diff::XS
Algorithm::LUHN
Author: NEILB <https://metacpan.org/author/NEILB>
XS module: Algorithm::LUHN_XS
Algorithm::PageRank
Author: XERN <https://metacpan.org/author/XERN>
XS module: Algorithm::PageRank::XS
Algorithm::RectanglesContainingDot
Author: SALVA <https://metacpan.org/author/SALVA>
XS module: Algorithm::RectanglesContainingDot_XS
Bytes::Random
Author: JOHND <https://metacpan.org/author/JOHND>
XS module: Bytes::Random::XS
Class::Accessor::Fast
Author: KASEI <https://metacpan.org/author/KASEI>
XS module: Class::Accessor::Fast::XS
Class::C3
Author: HAARG <https://metacpan.org/author/HAARG>
XS module: Class::C3::XS
Class::Load
Author: ETHER <https://metacpan.org/author/ETHER>
XS module: Class::Load::XS
Convert::Bencode
Author: ORCLEV <https://metacpan.org/author/ORCLEV>
XS module: Convert::Bencode_XS
( run in 0.697 second using v1.01-cache-2.11-cpan-d8267643d1d )