lua-users home
lua-l archive

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


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".