lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Hi Luiz,

On 11 May 2017 at 17:23, Luiz Henrique de Figueiredo
<lhf@tecgraf.puc-rio.br> wrote:
> To resume the thread on curated libraries for Lua, I'd like to start with
> math libraries. This is a niche that is dear to me and which is probably
> easier to handle than a comprehensive list of libraries for all purposes.
>
> The goal is to produce a curated list of math libraries for Lua that
> can serve as a reference to the community. I'm not sure how much demand
> there is for math libraries for Lua, but a one-stop place would be nice.
> Ideally, the list will contain reasons for selecting a given library,
> with comments about why other libraries for the same task are not as good.
>

I am certainly interested in Lua Maths libraries, and I assume by
Maths you mean broad coverage such as in GNU Scientific Library.

> *  One, biased, starting point are my own libraries:
>    http://webserver2.tecgraf.puc-rio.br/~lhf/ftp/lua/
>    Are they any good?
>    Which ones are worth keeping?
>    Which ones are missing?
>
>    Besides the ones in my page I have unpublished bindings for cephes, filib,
>    a tiny fraction of freetype enough to get the geometric data for glyphs,
>    Shewchuk's Triangle, hpalib, gcc libquadmath.
>
> *  The other natural starting point is luarocks:
>    https://luarocks.org/labels/math
>    Which ones are any good?
>    Which ones are missing?
>
> *  Are there other repositories or individual libraries we should be aware of?
>


Re cephes, this one looks interesting:

https://github.com/deepmind/torch-cephes

However it relies on LuaJIT FFI. Facebook does have an FFI module that
says it works with Lua 5.3 (https://github.com/facebook/luaffifb) but
I haven't tested it.

In your criteria - are you only considering libraries that work with Lua 5.3?

Regards
Dibyendu