[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Ruby philosophy vs Lua philosophy
- From: Petite Abeille <petite.abeille@...>
- Date: Wed, 27 Feb 2013 22:27:41 +0100
On Feb 27, 2013, at 9:56 PM, D. Matt Placek <firstname.lastname@example.org> wrote:
> This is one of the greatest strengths of Lua, IMO; yes, ruby and perl etc.
> have a larger base of ready-made packages, but try integrating your own
> custom C++ class. Ouch! Lua is so straightforward and simple to integrate
> with C/C++ code that for most purposes, any C or C++ library is ready to
> use with Lua.
Also, perhaps worth mentioning, an alternative approach to binding to external libraries is to use Lua to, well, script other tools. Remember, io.popen is your friend. An handful of command line tools here and there, all driven by Lua, can be a potent combination.
addrlist, extract, iconv, lynx, reformail, reformime, sqlite, a bit of Lua, and voila, a full email processor :D