Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid

comment on

( #3333=superdoc: print w/replies, xml ) Need Help??

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.

In reply to it's scripts all the way down! by QuillMeantTen

Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":

  • 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 or How to display code and escape characters are good places to start.
Log In?

What's my password?
Create A New User
Domain Nodelet?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (5)
As of 2022-08-16 20:00 GMT
Find Nodes?
    Voting Booth?

    No recent polls found