Click here to Skip to main content
13,054,615 members (62,888 online)
Rate this:
Please Sign up or sign in to vote.

I have to use a script language for an embedded program which is written in C. So far I know that there are several option available such as Python, Ruby, Lua and Java.

The software is running under a LEON2 SPARC microcontroller. I am using as a breadboard platform the spacecraft avionics development platform GR-RASTA - LEON 2[^]. As real time operating system I am using RTEMS 4.10[^]

I would like to know if you could help me to identify which are the pros and cons of each of these languages in term of reliability, foot print, speed, libraries, community support, debugging, real-time properties, etc.

Thank so much in advance
Posted 21-Jul-13 5:56am
Updated 21-Jul-13 9:18am
ThePhantomUpvoter 21-Jul-13 12:30pm
This is not a question or description of a problem. This is just research that you need to do.
Sergey Alexandrovich Kryukov 21-Jul-13 14:46pm
Exactly. The real problem is: selection of the language should be dictated be the technical decisions or considered decisions on the rest of the system, and this information is missing. There is no matter to discuss any criteria over it, as there is no a way to formulate any requirements. And just listing all possible language pro and contra in a blindfolded situation would be a waste of time.
GiZmoDragonBack 21-Jul-13 15:12pm
Do you suggest me to provide further information about the hardware platform under which the software is supposed to run? If this is the case, I can do that immediately.

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

Consider consulting the LEON" SPARC manual or experts. They know better what is useful and stable. The runtime of the language must work on the system.

I personally would prefer Python over Ruby, and avoid Java and Lua.
GiZmoDragonBack 24-Jul-13 4:29am
I know that it is possible to run Python and Lua on top of RTEMS. At least the implementation is available. I read that Java porting is also possible, but I could not find any available implementation.
Why do you prefer Python over Ruby, and why should I avoid Java and Lua?
KarstenK 24-Jul-13 4:52am
Python is great for scripting, but Java is a language which is best for complete solution of all tasks.

But as written: "Consider consulting the LEON" SPARC manual or experts." ;-)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.170713.1 | Last Updated 24 Jul 2013
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100