http://www.perlmonks.org?node_id=691106


in reply to Re: Ruby Before Perl? Nah.
in thread Ruby Before Perl? Nah.

I've been meaning to take a look at Lua for a while now. It looks syntactically similar to Ruby, and is designed to be primarily an extension language for C/C++; but that's from a cursory examination of the manual. It's worth mentioning that there is also a Java interface available, and the same folks who produced that have developed a web application framework to support Lua. If it really is as fast as the hype indicates, maybe it's worth looking into. Otherwise, it's probably just another mouse trap.

Replies are listed 'Best First'.
Re^3: Ruby Before Perl? (Lua)
by moritz (Cardinal) on Jun 09, 2008 at 22:19 UTC
    I looked at lua a few months ago, and this is what I found:
    • It's a neat, small language
    • Variables are global by default (like in perl), but no use strict
    • The "A hash and an array are the same thing" concept really needs some time to adapt
    • Simple things aren't always easy, hard things not always possible

    Especially the second and the last point of that list convinced me not to adapt it as a general purpose programming language.

    However for the area it was designed for (being embedded in other applications) it sure is very cool and useful.