3 ms·
> I picked Perl over Python and Ruby because they all really suck performance-wise, but at least Perl has a great community and a great library repository. I r
by eru 16y ago
> I picked Perl over Python and Ruby because they all really suck performance-wise, but at least Perl has a great community and a great library repository.
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.)
- silentbicycle 16y agoLua'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/ http://luajit.org/) is so fast that it's a major outlier among scripting languages.