9 ms·
Thanks I will give this a go. I had a long fling with Lua a while back. Wrote everything in Lua -- it is a great language. I would have used it for data science
by usgroup 5y ago
Thanks I will give this a go. I had a long fling with Lua a while back. Wrote everything in Lua -- it is a great language. I would have used it for data science if only it had more well maintained packages. The main API for Torch was in Lua for a while before they abandoned it for Python. Had that carried on we could be using Torch with Fennel right now.
- mattroelle 5y agoNot sure when you used Lua but there is a package manager called LuaRocks now which has some pretty nice packages in it for many purposes. I don't think it'd be too hard to get Lua running inside of a Python env either :) https://luarocks.org/ https://luarocks.org/
- giraffe_lady 5y agoIt's really pretty rough compared to everything else I've used. I really don't feel like luarocks solves very many of my problems. A lot of gaps in there, or libraries that only target 5.1, or only luajit. Or are completely unmaintained, or have poorly documented dependencies on C libraries. etc etc. I use lua a lot and like it fine but the build/dependency/tooling situation is a fucking mess. It exposes you to a lot of the inconvenience of C in the end.
- mattroelle 5y agoYeah, my experience is limited mostly to web dev, via OpenResty, and game dev, via love2d. The Lua libraries in these areas are very well maintained. That said 90% of the time libraries ship as a single lua file and it’s often better to copy and paste it into your project. I have a modified version of lume I like to use floating around :) This spartan approach to libraries is a strength of Lua.
- db65edfc7996 5y agoFurthermore, you are likely to encounter three different libraries that partially implement your desired feature set.