I just saw this video https://www.youtube.com/watch?v=NyphRo5roV0 about RPerl.
Maybe I am missing something, but how can this be useful?
- If I want fast code, I can write it directly in C++, why would I use RPerl?
- As I understand it, I cannot use CPAN modules with rperl? They first have to be rewritten to comply with the restricted sub set of Perl? It feels like this is a major issue
- If I find a piece of a large perl program that needs optimization, how can I use rperl to optimize only that part of the code? Do I compile the code first into a shared library, and then load it at run time using DynaLoader? Then, why not just write an XS-module?
Note: I am not trying to criticize the project. I found it very interesting. I am just trying to understand how it can be used in practice. Thanks!
-
Are you posting in the right place? Check out Where do I post X? to know for sure.
-
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
<u> <ul>
-
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
intervention).
-
Want more info? How to link
or How to display code and escape characters
are good places to start.
|