[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: BIG request, someone can port luajit ffi module to lua?
- From: Peter Cawley <lua@...>
- Date: Mon, 21 Feb 2011 16:46:38 +0000
2011/2/21 zhiguo zhao <zhaozg@gmail.com>:
>> does runtime generation of architecture-specific machine code
> No, not need machine code.
If you're ruling out alien and dynamic machine code generation, then
as far as I can tell, you're left with providing a finite number of
"binding bits" at compile time. This seems problematic, as how then
are you going to cover every single possibility and combination of
possibilities from this finite set? As I see it, covering a call out
to a C function with 16 arguments, where each argument might be an
integer word, a float, or a complex structure would need at least 3^16
"binding bits".
- References:
- BIG request, someone can port luajit ffi module to lua?, zhiguo zhao
- Re: BIG request, someone can port luajit ffi module to lua?, Javier Guerra Giraldez
- Re: BIG request, someone can port luajit ffi module to lua?, Axel Kittenberger
- Re: BIG request, someone can port luajit ffi module to lua?, zhiguo zhao
- Re: BIG request, someone can port luajit ffi module to lua?, Peter Cawley
- Re: BIG request, someone can port luajit ffi module to lua?, zhiguo zhao