Re:In praise of Go or "Why I moved from Python and C++ to Go"
by rlander on Wednesday November 17, 2010 @11:35AM
(#1914736)
I love lua (almost as much as I enjoy python and erlang), but how do you cope with the lack of libraries? Since last year I've been trying to use lua on personal projects, but I find the generally poor documentation and lack of libraries very annnoying (and unproductive).
[ Parent
| on HN ]
Re:In praise of Go or "Why I moved from Python and C++ to Go"
by silentbicycle on Wednesday November 17, 2010 @11:53AM
(#1914792)
I haven't found libraries lacking, but we probably work on different things, and I don't have any problem with writing quick wrappers for existing C libraries. There's a fair bit of Lua libs that are insufficiently documented or tested, or have bit-rot (esp. due to changes in Lua itself), but the situation is getting better.
For libs, I usually check http://lua-users.org/wiki/LibrariesAndBindings and http://luarocks.org/repositories/rocks/ .
I've written a couple libraries, as well. See e.g. lunatest (http://github.com/silentbicycle/lunatest, an xUnit-like + randomized (QuickCheck-ish) testing library) and Tamale (http://github.com/silentbicycle/tamale, Erlang-style pattern-matching for Lua).
Re:In praise of Go or "Why I moved from Python and C++ to Go"
by rlander on Wednesday November 17, 2010 @12:28PM
(#1914917)
You're right, I haven't touched C in a decade =)
Good work on Tamale (and great README btw). The more I program in Erlang, the more if/else nests feel unnatural in imperative languages.