3 ms·
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,
by antirez 16y ago
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.
- davidw 16y agoPresumably, it wouldn't be that hard to create some Lua functions to interface with memory addresses, I would think.
- antirez 16y agoYes 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.
- pietrofmaggi 16y agoLua can and is used in robotics, embedded system and alike. Take a look at: * pbLua, for Lego Mindstorm (http://www.hempeldesigngroup.com/lego/pblua/ http://www.hempeldesigngroup.com/lego/pblua/) * eLua for small MCU (http://www.eluaproject.net/ http://www.eluaproject.net/)