News for hackers. Stuff that matters.
Re:How the embeddability of Lua impacted its design by aidenn0 on Sunday December 02, 2012 @08:00PM (#4863386)
Hmm, the majority of this is about implementation, not semantics. I like looking at choices made in the Kyoto family of lisps versus most other CL implementations as good examples of tradeoffs when embedding.
Re:How the embeddability of Lua impacted its design by ufo on Sunday December 02, 2012 @08:29PM (#4863453)
Could you elaborate on that? I think this is just a case of the Lua authors being too academic to let implementation details mess with the semantics too much. They say that there is lots of tradeoff involved but they only mentioned using simpler dynamic typin instead of sophisticated static typing and a very barebones module system.Keep in mind that they don't have to compare with other existing implementations like the Common Lisp example though.

That said, Lua has evolved considerably over the years, specially the embedding API (I belive it has been completely redesigned more then once). Sometimes thery added changes that made the API simpler (for example, globals used to be accessed using special functions, now they use table lookup, as mentioned in the article). Other times, things were originaly limited due to the implementation, but they got "cleaned up" in latter versions (upvalues gave way to proper lexical scope, "tags" became a more general metatable system, etc).

Re:How the embeddability of Lua impacted its design by Rickasaurus on Monday December 03, 2012 @02:20AM (#4864337)
I'd love to read a blog post or paper on this topic.
Re:How the embeddability of Lua impacted its design by jacques_chester on Monday December 03, 2012 @03:46AM (#4864547)
A fairly detailed paper on Lua was published in HOPL-III in 2007: http://www.lua.org/doc/hopl.pdf