lua-users home
lua-l archive

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

Good points all.  If you're getting that small, a direct threaded forth would also seem to be a good fit.  

A security friend of mine invented a Scheme VM called Mosquito to use as a portable hacking environment.  Memory size was targeted at typical buffer overflows.  All you had to do was inject the vm for the target architecture and it was off to the races.

Sent from my iPhone

> On Dec 20, 2017, at 11:44 PM, steve donovan <> wrote:
>> On Thu, Dec 21, 2017 at 2:35 AM,  <> wrote:
>> I guess you could call it late 20th-century attitude towards executable
>> size ... or you could call it "ready for IOT" where size and efficiency
>> will actually matter again.
> Totally this. People pick up bad habits with computers with beefy
> processors and gigs of memory, but there are small devices all around
> us. The other day a colleague confessed that he was having a hard time
> finding 16Kb for a TCP/IP stack in one of our devices.  That's life in
> the fully embedded world. However, even little Linux devices can be
> challenging - we have some ARM-powered stations underground, and it's
> a shame to see how they struggle with the Salt Stack (which is a big
> pile of Python). Lua would do the job as effectively and with more
> modularity.
> (offtopic: it _is_ possible to do lean and mean programs in Rust, but
> conventional wisdom makes it hard - it says "It's so easy to add a
> dependency with Cargo. This is not C++ anymore". Everything has
> consequences, and there is always a price.  I don't think we've got to
> that point with Luarocks, which isn't as universal in Lua as Cargo is
> in Rust, and has an order of magnitude more packages than
> Luarocks.  It is, in fact, a little _too easy_ to publish packages
> with Cargo)