Hacker News new | ask | show | jobs
by davidw 5775 days ago
I wonder how it compares to other small systems like Lua, or, say Antirez' Jim interpreter, in terms of speed and features.
1 comments

Hey David, what I think it's cool about picoC is that you can use it in places where you need to script at "hardware" level, like in robotics, embedded systems, and alike.

Otherwise it is probably better to use Lua for instance, since I bet it is much faster (I just read part of the PicoC implementation and it is a pretty straightforward interpreter, very cool to read but hardly the faster) and safer.

Lua can and is used in robotics, embedded system and alike. Take a look at: * pbLua, for Lego Mindstorm (http://www.hempeldesigngroup.com/lego/pblua/) * eLua for small MCU (http://www.eluaproject.net/)
Presumably, it wouldn't be that hard to create some Lua functions to interface with memory addresses, I would think.
Yes but it's a pain to write complex code accessing memory when you need high level functions, can't simply cast pointers to C structures and alike.