My list (the list may have items on it for which there are "Perl" modules doing the thing mentioned, but typically such modules contain large parts of C and/or XS code - which isn't Perl).
- Number crunching. Accessing the value of a number requires following at least two pointers, plus some additional overhead to check to see whether the numeric value is correct.
- Anything that requires to be CPU/register/memory/cache friendly. The flexibility of Perl comes with a price, and that's paid with CPU and memory.
- Anything that requires a small footprint in disk space. Compiling C programs with the right compiler can give you programs of just a few k, meaning you can pack a lot of them on a floppy. There's no way to install perl on a floppy.
- Direct memory access, due to the lack of pointers.
- Locking regions of files instead of the entire file.
- Calling kernel hooks.
- Many things for which there are special purpose languages (music, vector images, etc)
- Real time programming
- Threads
- OO
And all other things I forgot.
Abigail
-
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.
|