More Lua number types

  • From: Szabó Antal <szabo.antal.92@xxxxxxxxx>
  • To: luajit@xxxxxxxxxxxxx
  • Date: Wed, 1 Aug 2012 09:04:13 +0200

Hi,

How hard would it be to add multiple number types (float, double,
(u)int(8|16|32|64)) to luajit as native lua types?
I tried using ffi integer types, but the generated code is much worse
than with the number type, I guess because of allocations the ffi
needs.


Antal Szabó

Other related posts: