Re:If you could only learn three programming languages, whic...
by silentbicycle on Thursday December 09, 2010 @11:15AM
(#1987937)
Lua's other strong point here is that it has an especially nice C API. Unlike Perl, Python, and Ruby, it was written primarily to script C, with use as a standalone language being secondary.
I prefer Lua to all of those, but that again is a matter of taste.
And yes, Lua is pretty fast, and LuaJIT (http://luajit.org/) is so fast that it's a major outlier among scripting languages.
I recently learned that Lua is pretty fast, according to anecdote and shoot-out data. I did not like the syntax, when I last looked at it. But I might change my might. I mostly use Python for this class of things at the moment. Though I could see myself use Haskell more.
We use OCaml at work for your first and second category. (We do interface with C, too.)