Re: Projects using LuaJIT ?

  • From: Patrick Masotta <masottaus@xxxxxxxxx>
  • To: luajit@xxxxxxxxxxxxx
  • Date: Mon, 18 Jun 2012 05:11:49 -0700 (PDT)

I'll browse that code
Appreciated


--- On Mon, 6/18/12, Francesco Abbate <francesco.bbt@xxxxxxxxx> wrote:


From: Francesco Abbate <francesco.bbt@xxxxxxxxx>
Subject: Re: Projects using LuaJIT ?
To: luajit@xxxxxxxxxxxxx
Date: Monday, June 18, 2012, 5:06 AM


2012/6/18 Patrick Masotta <masottaus@xxxxxxxxx>

> Hi I'm new to LuaJIT and I'd like to find some real projects containing
> well conformed LuaJIT code in order to get a better understanding
> of LuaJIT capabilities and its proper use.

Hi,

GSL Shell does use a lot the FFI interface to make the GSL library
funtions available from Lua. I'm not sure that it is 100% well
conformed but I feel it is pretty correct and we took care of all the
main aspects (GC, x64/x86 data compatibility, error handling, etc.)
and made a lot of tests.

The following files are quite simple and straightforward example of FFI usage:

https://github.com/franko/gsl-shell/blob/master/rng.lua
https://github.com/franko/gsl-shell/blob/master/linfit.lua
https://github.com/franko/gsl-shell/blob/master/fft-init.lua

Disclaimer: I'm the author of GSL Shell.

Best regards,
Francesco

Other related posts: