Re: Projects using LuaJIT ?

  • From: Francesco Abbate <francesco.bbt@xxxxxxxxx>
  • To: luajit@xxxxxxxxxxxxx
  • Date: Mon, 18 Jun 2012 14:06:13 +0200

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: