[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Precompiled multiplatform code (ARMxPC)
- From: Rob Kendrick <lua-l@...>
- Date: Mon, 10 Aug 2009 17:44:52 +0100
On Tue, 11 Aug 2009 00:39:00 +0800
KHMan <keinhong@gmail.com> wrote:
> Rob Kendrick wrote:
> > On Mon, 10 Aug 2009 13:29:18 -0300
> > "Saulo Tauil" <saulot@muitofaciltec.com.br> wrote:
> >
> >> The terminals have little memory, low cpu clock and lack of
> >> space.
> >
> > Given that compiled Lua is often /larger/ than the source, you may
> > find that leaving the compiler in and gzipping and/or using
> > something like LuaSrcDiet saves more space, depending on your exact
> > circumstances.
>
> I think he means one of those lower-end 32-bit ARMs. They probably
> have about 8-32KB internal SRAM. Everything runs on-chip, and the
> program memory can probably be protected. You can upload your
> programs as firmware, with a bootstrapper that can probably
> include some sort of security encryption. Can't really do the
> compilation or interpretation front-end on-chip.
>
> There are at least two broad kinds of ARM MCUs, and I don't
> believe Saulo is talking about the kind that can run Linux.
We're in broadly the same situation. Although I'd never actually
consider Lua for anything with as little as 32kB of RAM. Of course,
compiled code would come out of your Flash budget, anyway.
B.