lua-users home
lua-l archive

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

David Given wrote:
Hash: SHA1

Does anyone know where I can get some rough figures on Lua's footprint
on an embedded device? (H8300S, for what it's worth.)

I have a device with 256kB RAM and ~128kB of flash. Would a full
(integer only) Lua be usable on this?

256K of RAM? Should be fine. 128K of FLASH is a bit thin. On an ARM7
the Lua core is about 85 to 90 K in thumb mode.

The H8/300 does not have as many registers, and I think the code
density will be worse, so you won't have much room for your own
tables for app specific APIs....

It's worth a shot, but I'm guessing it will be a tight fit.