lua-users home
lua-l archive

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



I don't think Erik's list was out of proportions. In fact, us using Lua I think it's in the backbone to strive for simplicity. Let's see how he does before shooting him down, eh? :)

As long as "custom memory manager" doesn't need a hw MMU (still luxury) I'm all for his list. TCP/IP can be arguable, but it sure broadens the scope a lot. Well done!

-ak


Since you had deleted Erik's configuration, here it is:

The software configuration will be as this:
* A small multithreading kernel with custom memory manager
* TCP/IP stack with DHCP client
* service console thread (telnet 'ish) always running.
* Small filesystem located in part of the flash
* Lua distribution that has access to console, timers, uarts, gio and network. * Lua support for starting threads and communication through the console * Lua bootloader - a specific script on the flash will always be executed when the chip is turned on (Unless a debug conditions is reached within 3 seconds)



11.8.2004 kello 13:13, David Given kirjoitti:

 On Tuesday 10 August 2004 19:46, Erik Hougaard wrote:
[...]
The software configuration will be as this:

Ack! You've just pushed the complexity up by another order of magnitude! What you have now is nothing *like* a embedded Lua system. What you have is a single-chip computer running an OS like ucLinux or ECOS that just happens to run a Lua interpreter as one of many user processes. It's going to be big and
expensive and have lots of RAM and ROM.

You could well be better off trying to strip it down as much as possible. Do you really *need* a threading kernel, for example? Or a TCP/IP stack? Try studying PICs and embedded Z80s. You couldn't run Lua on one, but that's the
level of complexity that would be good to aim for...

--
+- David Given --McQ-+ "A psychic? That sounds like science fiction."
|  dg@cowlark.com    | "Dear, you live on a spaceship."
| (dg@tao-group.com) | "So?"
+- www.cowlark.com --+ --- Firefly, _Objects in Space_