Greetings, fellow monks
I have been musing over the idea of learning a new programming language for about a week and I think I have settled on Lua.
Main reason is for scripting things such as Nmap or Snort, I know that many video games enable modding by embedding Lua but that's not my main use case.
After reading this I found some of my questions already answered, but here are others:
You might recall how I wondered, some time ago, about perl performance and how to improve it by rewriting parts of a perl script in C. Someone suggested to me the excellent FFI::Platypus but I mainly understood that before going down that road I might first want to be exhaustive in my benchmarking and profiling efforts, have a good look at my algorithms under the harshest light and THEN do it.
What I came here to ask today is kinda related:
- What is to be gained from embedding lua inside a perl script?
- Do lua coroutines provide anything useful when used in a dominantly Perl context?
(Useful could be something to gain in maintainability, performance, scalability...)
Why isn't perl embedded in applications as often as lua is (especially since TinyPerl is the same size)?
Thanks for your time reading me.
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>
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
Want more info? How to link or
or How to display code and escape characters
are good places to start.