This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Embedded scripting language


Øyvind Harboe wrote:

On Fri, 2004-02-13 at 14:48, Savin Zlobec wrote:




I have actually run Python on eCos :-) Configuration and getting it setup is rather tedious (which is why I've not posted those ideas yet),
but it does provide a lush environment.


I'm running Lua on AT91 EB40a board :-)

It takes <100k of code space, but I haven't investigated RAM usage yet.



In case you need to run only precompiled lua programs, then you can reduce
the code size by excluding lua lex and parser - which are a big piece of lua code.



Code size isn't particularly important(I've got 2MB flash and 256k ram).


The ram overhead seems to be ~30k.

Check lua_getgccount() and lua_getgcthreshold() or the lua versions collectgarbage() and gcinfo().

Described here http://www.lua.org/manual/5.0/manual.html#3.7

savin


-- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]