[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: lua on ARM7
- From: bert <bestanf@...>
- Date: Tue, 23 May 2006 09:02:12 -0700 (PDT)
Hi All,
Continuing on the LUA on ARM thread... I've been thinking how I could run a subset of LUA in under 32K, and fast enough for RT applications. What if :
- we don't want to support the lua standard libraries
- we don't support dynamic memory allocation and leave out the garbage collector (so we need a special keyword to alloc all memory at boot time)
- we use int32 instead of float as number type
- we don't support the local keyword or variables that were not explicitly allocated at boot time
what parts of the LUA source distribution would I need to run the VM on the ARM and what can I leave out? I looked in the lopcodes.h and lvm.c and didn't see special instructions for memory allocation .. but then I haven't thoroughly studied all of the LUA code.
Thanks,
Bert
Be a chatter box. Enjoy free PC-to-PC calls with Yahoo! Messenger with Voice.