http://www.perlmonks.org?node_id=1060418


in reply to Perl + binary

The “how much faster” question depends altogether on just what the script is doing.   Some modules, like JSON::XS, do typically run “noticeably faster,” but there are “pure Perl” implementations, too.   Quite often, binary code is used to interface with an existing, known library, as in XML::LibXML, which is “Perl glue” for the standard library libxml2.