Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

Lua

Name: Anonymous 2009-12-28 17:06

What is /prog/'s opinion on Lua?

Name: Anonymous 2009-12-28 17:12

Well, I don't know it, but I heard it's used in many remarkable programs. By example Awesome.

Name: Anonymous 2009-12-28 17:19

DEJA VU

Name: Anonymous 2009-12-28 18:42

its fas but it isnt listp

Name: Anonymous 2009-12-28 21:38

>>3
MOAR LIEK DEJA VUA, AMIRITE?

Name: Anonymous 2009-12-28 21:43

JavaScript is the future.

Name: Anonymous 2009-12-29 1:41

Has anybody used it in anything substantial? Any gotchas coming from other languages? Any notable quirks or missing features compared to other scripting languages? Does its embedding API influence the design of the host project in any way?

Name: Anonymous 2009-12-29 1:49

>>1
Good language for embedding in to C/C++.

Name: Anonymous 2009-12-29 1:52

The only purpose of Lua is to substitute Sepples in certain places and thus make life of Crusis DEVELOPERS a bit easier.

Name: Anonymous 2009-12-29 1:59

>>7
Has anybody used it in anything substantial?
Started a project using it, but dropped it after a few months.

Any gotchas coming from other languages?
Undeclared variables are treated as globals instead of errors.  This can be changed using metatables though.

Any notable quirks or missing features compared to other scripting languages?
Dictionaries/arrays are one type (tables).  Arrays are 1-based (before anyone complains, yes you can use 0 but some built in functions assume 1).

Does its embedding API influence the design of the host project in any way?
Not that I can think of.  An interpreter instance is single threaded but are there scripting without this limitation?

Name: Anonymous 2009-12-29 3:06

It's used often in games for a reason; fastest un-JIT'd scripting language around, light (no API other than C standard), and has the nice scripting features necessary for easily handling events (first-class functions and closures).

Don't change these.
Name: Email:
Entire Thread Thread List