Click here to Skip to main content
15,887,214 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi,

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
Updated 21-Jul-13 9:18am
v2
Comments
[no name] 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.
—SA
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

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.
 
Share this answer
 
Comments
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?
Thanks
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)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900