1
\$\begingroup\$

Are languages like eLua and Micro Python feasible for production level use on an embedded micro like an STM32?

There doesn't seem too be much information outside of their sites. Not looking to do real time stuff in these languages directly, but perhaps linking them into existing lower level C modules could speed up testing and application level development. So I was curious if anyone has had much experience with these in the real world.

\$\endgroup\$
  • \$\begingroup\$ What is your definition of 'feasible'? IMO the problem with such languages is that for anything larger than a very small program the development cycle is much more tedious than for a convenstional cross-compiled language (Asm, C, C++, Pascal, Ada, ...) because most errors are only apparent at 'run' time. \$\endgroup\$ – Wouter van Ooijen Apr 6 '15 at 15:22
  • \$\begingroup\$ The trade offs of compiled vs non-compiled languages are a little out of the scope of this question... But I don't believe having runtime testing or unit tests in place has to negate the trade off of faster development and prototyping that is possible with these languages. \$\endgroup\$ – radix07 Apr 6 '15 at 16:09
  • 1
    \$\begingroup\$ I think you are misunderstanding me at two points. In the cases I have used or read about (like picaxes, lua on the esp8266, micro-python) the edit-run cycle of these interpreted languages on such chips is more cumbersome than of compiled languages (the opposite is true on a PC). And the benefit of compiled languages (especially strong typed ones) is that more errors are caught early on, which wheights heavier when the development cycle is already cumbersome. Don't get me wrong: on the PC I use Python almost exclusively, but I don't see it use on a micro-controller. \$\endgroup\$ – Wouter van Ooijen Apr 6 '15 at 17:05
2
\$\begingroup\$

Ada is certainly feasible. See these articles for example:

http://www.embeddedrelated.com/showarticle/617.php
http://electronicdesign.com/blog/running-ada-2012-cortex-m4

Some resources discussed here and available on github including the Ravenscar (real-time tasking designed with reliability in mind) RTS.

| improve this answer | |
\$\endgroup\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.