[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Using Lua in an embedded hardware environment (toward a porting guide)
- From: Fabien <fleutot+lua@...>
- Date: Wed, 27 Dec 2006 15:40:49 +0100
I'd be really interested into a porting guide to embedded devices as
well. The main issue I had with my platform (ARM9, 256KB of available
RAM, couple MB of flash) is with memory. The GC doesn't naturally
"think" in terms of how much memory is there left. I guess I'm far from
being the first one to hack it, and some people probably did a much
better job than mine; it's a shame that this work isn't shared, e.g. on
the wiki, and I hope someone will be able to write a lua gem about it.
Having
some statistical informations about typical memory usage would be great
as well: is it worth implementing special tricks to speed up allocation
and/or limit fragmentation on the sometimes naive memory allocators one
gets on embedded platforms? Are there some known ways to do this?