Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> The most obvious issue that everyone stumbles across is the "counting from 1". It seems like a minor thing, but the context-switch remains a drag when you're dealing with complex data-structures in two languages and only one of them is Lua.

Not so much of a problem for me, because I found out I rarely need to use array indices on the same structure in two different languages.

> The impedance-mismatch becomes even more apparent when the table-abstraction meets serialization.

I don't know if you read the Lua mailing list but I have posted about that recently (http://lua-users.org/lists/lua-l/2012-11/msg00683.html) and gotten a reasonable answer (http://lua-users.org/lists/lua-l/2012-11/msg00691.html). I still think separate types for lists and maps (arrays and hashes) are good but the proposed solution is elegant (and a good example of loose coupling: you teach libraries your convention and not the other way around).

> Luarocks exists but is... well, I've yet to see someone actually using it

I can assure you the part of the community using Lua as a standalone language uses it. Embedded users don't really need a package manager anyway.

Things are moving on that front too: the Moonrocks project could become what Rubygems is to Ruby (http://rocks.moonscript.org/).



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: