lua-users home
lua-l archive

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


> Just asking whether it would be technically possible, to generate code for simple functions without all marshaling (VM barriers) that happens on caller code and Lua callback code?

Yes. It's one thing I'd like to try. The scheme I envision would have a
table of names of "internal functions" and the parser would generate a
special instruction for calling them. Such a scheme was already mentioned
in our 1994 SEMISH paper http://www.lua.org/semish94.html .