forked from wbraswell/rperl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
16 lines (9 loc) · 1.12 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
RPerl
=====
RPerl is the optimizing compiler for the Perl 5 programming language. RPerl stands for Restricted Perl, in that we restrict our use of Perl to those parts which can be made to run fast.
The input to the RPerl compiler is low-magic Perl 5 source code. RPerl converts the low-magic Perl 5 source code into C++ source code using Perl and/or C++ data structures. Inline::CPP converts the C++ source code into XS source code. Perl's XS tools and a standard C++ compiler convert the XS source code into machine-readable binary code, which can be directly linked back into normal high-magic Perl 5 source code.
The output of the RPerl compiler is fast-running binary code that is exactly equivalent to, and compatible with, the original low-magic Perl 5 source code input. The net effect is that RPerl compiles slow low-magic Perl 5 code into fast binary code, which can optionally be mixed back into high-magic Perl apps.
Please see the `rperl` command documentation for usage information:
https://metacpan.org/pod/distribution/RPerl/script/rperl
Please see the RPerl website for non-technical information:
http://www.rperl.org