lua-users home
lua-l archive

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

1K of RAM is completely out of the question, I'm afraid. The only remotely similar thing that you _might_ be able to run on such a system is a Forth variant. I do plan Lua on AVRs at some point, but I'll target high end AVRs with external memory, or the new XMega.
14k of Flash also isn't good. Take a look at my project at:

Currently, the bare minimum that I'd recommend for Lua on embedded would be 128k Flash/32k RAM. I can (and I will) do better than that eventually, but I really don't think there's a way to go so low with requirements.


On Wed, Oct 29, 2008 at 7:28 AM, Sam Roberts <> wrote:
On Tue, Oct 28, 2008 at 9:48 PM, Gé Weijers <> wrote:
> The arduino's processor is way too restrictive for Lua. 14K of ROM and a
> kilobyte of RAM  just won't work.

Very disappointing!

How small can the lua code get, and how much space does a lua_State take?

With the parser and libraries stripped out, whats the smallest anybody
around here has gotten it?

I guess I'm wondering if its absolutely out of the question, or if I'd
just have to work hard. I'm ok with working hard... it would be