[prev in list] [next in list] [prev in thread] [next in thread]
List: lua-l
Subject: Re: Anybody seen any lua support for the Arduino?
From: "Bogdan Marinescu" <bogdan.marinescu () gmail ! com>
Date: 2008-10-29 8:14:25
Message-ID: 81fbe47d0810290114o64f5f8ddn7176dd3f52eca8b8 () mail ! gmail ! com
[Download RAW message or body]
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:
http://elua.berlios.de
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.
Best,
Bogdan
On Wed, Oct 29, 2008 at 7:28 AM, Sam Roberts <vieuxtech@gmail.com> wrote:
> On Tue, Oct 28, 2008 at 9:48 PM, G=E9 Weijers <ge@weijers.org> 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
> worthwhile!
>
> Sam
>
[Attachment #3 (text/html)]
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. <br> 14k of Flash also isn't good. Take a look at my \
project at:<br><br><a \
href="http://elua.berlios.de">http://elua.berlios.de</a><br><br>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.<br> <br>Best,<br>Bogdan<br><br><div \
class="gmail_quote">On Wed, Oct 29, 2008 at 7:28 AM, Sam Roberts <span \
dir="ltr"><<a href="mailto:vieuxtech@gmail.com">vieuxtech@gmail.com</a>></span> \
wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, \
204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> <div class="Ih2E3d">On Tue, Oct \
28, 2008 at 9:48 PM, Gé Weijers <<a \
href="mailto:ge@weijers.org">ge@weijers.org</a>> wrote:<br> > The arduino's \
processor is way too restrictive for Lua. 14K of ROM and a<br> > kilobyte of RAM \
just won't work.<br> <br>
</div>Very disappointing!<br>
<br>
How small can the lua code get, and how much space does a lua_State take?<br>
<br>
With the parser and libraries stripped out, whats the smallest anybody<br>
around here has gotten it?<br>
<br>
I guess I'm wondering if its absolutely out of the question, or if I'd<br>
just have to work hard. I'm ok with working hard... it would be<br>
worthwhile!<br>
<font color="#888888"><br>
Sam<br>
</font></blockquote></div><br>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic