Acme::CPANModules::XSVersions - List of Perl modules which have XS implementation or backend
This document describes version 0.004 of Acme::CPANModules::XSVersions (from Perl distribution Acme-CPANModules-XSVersions), released on 2023-09-05.
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.)
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).
::XS
_XS
::PP
_PP
JSON
JSON::XS
JSON::PP
Additions much welcome.
Author: RJBS
XS module: Algorithm::Diff::XS
Author: NEILB
XS module: Algorithm::LUHN_XS
Author: XERN
XS module: Algorithm::PageRank::XS
Author: SALVA
XS module: Algorithm::RectanglesContainingDot_XS
Author: JOHND
XS module: Bytes::Random::XS
Author: KASEI
XS module: Class::Accessor::Fast::XS
Author: HAARG
XS module: Class::C3::XS
Author: ETHER
XS module: Class::Load::XS
Author: ORCLEV
XS module: Convert::Bencode_XS
Author: LUISMUNOZ
XS module: Crypt::Passwd::XS
Author: JAHIY
XS module: Crypt::TEA_XS
XS module: Crypt::XXTEA_XS
Author: MOOCOW
XS module: DDC::XS
Author: ESH
XS module: Crypt::Skip32::XS
Author: STBEY
XS module: Date::Calc::XS
PP module: Date::Calc::PP
Author: SANBEG
XS module: Directory::Iterator::XS
PP module: Directory::Iterator::PP
Author: DANKOGAI
XS module: Encode::XS
Author: GRANTM
XS module: Encoding::FixLatin::XS
Author: KNOK
XS module: File::MMagic::XS
Author: GRAHAMC
XS module: Geo::Coordinates::UTM::XS
Author: BLUEFEET
XS module: Geo::Distance::XS
Author: ANDYA
XS module: Geo::Hash::XS
Author: TOKUHIROM
XS module: HTTP::Headers::Fast::XS
Author: KAZUHO
XS module: HTTP::Parser::XS
Author: THOSPEL
XS module: Heap::Simple::XS
Author: SREZIC
XS module: Image::Info::XS
Author: ISHIGAKI
XS module: JSON::XS
PP module: JSON::PP
XS module: Cpanel::JSON::XS
Author: JQUELIN
XS module: Language::Befunge::Vector::XS
XS module: Language::Befunge::Storage::Generic::Vec::XS
Author: DAVIDO
XS module: List::BinarySearch::XS
Author: OBRADOVIC
XS module: List::Flatten::XS
Author: REHSACK
XS module: List::MoreUtils::XS
Author: DROLSKY
XS module: List::SomeUtils::XS
Author: PEVANS
XS module: List::Util::XS
XS module: List::UtilsBy::XS
Author: JGAMBLE
XS module: Math::Derivative_XS
Author: JANERT
XS module: Math::Gauss::XS
XS module: Math::Utils::XS
Author: MAXMIND
XS module: MaxMind::DB::Reader::XS
Author: SRI
XS module: Mojo::Base::XS
XS module: Class::XSAccessor
Author: MANU
XS module: Net::IP::XS
Author: DTOWN
XS module: Net::SNMP::XS
Author: ACCARDO
XS module: Number::Closest::XS
Author: TOBYINK
Author: BINGOS
XS module: Object::Accessor::XS
XS module: Object::Tiny::XS
Author: SCHWIGON
XS module: Object::Tiny::RW::XS
Author: OALDERS
XS module: PPI::XS
XS module: Package::Stash::XS
XS module: Params::Validate::XS
Author: PWBENNETT
XS module: Path::Hilbert::XS
XS module: PerlX::ArraySkip::XS
XS module: PerlX::Maybe::XS
Author: UNDEF
XS module: Protocol::Redis::XS
Author: SANKO
XS module: Readonly::XS
Author: ARC
XS module: Ref::Util::XS
XS module: Set::IntSpan::Fast::XS
Author: GRAY
XS module: Set::Product::XS
Author: SWALTERS
XS module: SOAP::WSDL::Deserializer::XSD_XS
XS module: Sort::Naturally::XS
Author: CHANSEN
XS module: String::Numeric::XS
Author: RHANDOM
XS module: Template::Alloy::XS
Author: ABW
XS module: Template::Stash::XS
XS module: Text::CSV_XS
Author: UGEXE
XS module: Text::Levenshtein::Damerau::XS
Author: ROODE
XS module: Time::Format_XS
XS module: Type::Tiny::XS
Author: PERLANCAR
XS module: Tree::ObjectXS
XS module: URL::Encode::XS
Author: PIOTO
XS module: Unix::Uptime::BSD::XS
Author: PAJAS
XS module: XML::CompactTree::XS
Author: TINITA
XS module: YAML::XS
XS module: match::simple::XS
An Acme::CPANModules::* module, like this module, contains just a list of module names that share a common characteristics. It is a way to categorize modules and document CPAN. See Acme::CPANModules for more details.
Aside from reading this Acme::CPANModules module's POD documentation, you can install all the listed modules (entries) using cpanm-cpanmodules script (from App::cpanm::cpanmodules distribution):
% cpanm-cpanmodules -n XSVersions
Alternatively you can use the cpanmodules CLI (from App::cpanmodules distribution):
% cpanmodules ls-entries XSVersions | cpanm -n
or Acme::CM::Get:
% perl -MAcme::CM::Get=XSVersions -E'say $_->{module} for @{ $LIST->{entries} }' | cpanm -n
or directly:
% perl -MAcme::CPANModules::XSVersions -E'say $_->{module} for @{ $Acme::CPANModules::XSVersions::LIST->{entries} }' | cpanm -n
This Acme::CPANModules module also helps lcpan produce a more meaningful result for lcpan related-mods command when it comes to finding related modules for the modules listed in this Acme::CPANModules module. See App::lcpan::Cmd::related_mods for more details on how "related modules" are found.
lcpan related-mods
Please visit the project's homepage at https://metacpan.org/release/Acme-CPANModules-XSVersions.
Source repository is at https://github.com/perlancar/perl-Acme-CPANModules-XSVersions.
Acme::CPANModules - about the Acme::CPANModules namespace
cpanmodules - CLI tool to let you browse/view the lists
Missing::XS
perlancar <perlancar@cpan.org>
To contribute, you can send patches by email/via RT, or send pull requests on GitHub.
Most of the time, you don't need to build the distribution yourself. You can simply modify the code, then test via:
% prove -l
If you want to build the distribution (e.g. to try to install it locally on your system), you can install Dist::Zilla, Dist::Zilla::PluginBundle::Author::PERLANCAR, Pod::Weaver::PluginBundle::Author::PERLANCAR, and sometimes one or two other Dist::Zilla- and/or Pod::Weaver plugins. Any additional steps required beyond that are considered a bug and can be reported to me.
This software is copyright (c) 2023, 2022, 2019 by perlancar <perlancar@cpan.org>.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
Please report any bugs or feature requests on the bugtracker website https://rt.cpan.org/Public/Dist/Display.html?Name=Acme-CPANModules-XSVersions
When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.
To install Acme::CPANModules::XSVersions, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Acme::CPANModules::XSVersions
CPAN shell
perl -MCPAN -e shell install Acme::CPANModules::XSVersions
For more information on module installation, please visit the detailed CPAN module installation guide.