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.