lua-users home
lua-l archive

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


On 5/28/2015 5:42 PM, Dirk Laurie wrote:
2015-05-28 11:21 GMT+02:00 Hans Riekehof:

My idea is to have this for pre compiled lua code because I want to
write a lot of code in Lua and not in C/C++.

Lua compiles to bytecode for a virtual machine. That VM is different
for every major Lua release: 5.1, 5.2, 5.3 etc, but the same within minor
releases 5.2.1, 5.2.2 etc. However, it is not supposed to portable across
different architectures.

I'm not entirely sure I understand what you want. Can you show us
what the Lua code would look like in a postulated Lua dialect that has
this feature?

Dirk, IMHO you should mostly leave this to Bogdan and eLua users, they have been tackling low-RAM issues for a long time and can obviously engage in productive dialogue.

--
Cheers,
Kein-Hong Man (esq.)
Kuala Lumpur, Malaysia