Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
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 21-Jul-13 5:56am
Edited 21-Jul-13 9:18am
v2
Comments
ThePhantomUpvoter at 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 at 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 at 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
good
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.
  Permalink  
Comments
GiZmoDragonBack at 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 at 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
Your Filters
Interested
Ignored
     
0 Shai Vashdi 440
1 Sergey Alexandrovich Kryukov 221
2 OriginalGriff 183
3 Tadit Dash 160
4 Guruprasad.K.Basavaraju 125
0 Sergey Alexandrovich Kryukov 9,255
1 OriginalGriff 5,433
2 Peter Leow 4,100
3 Maciej Los 3,540
4 Abhinav S 3,333


Advertise | Privacy | Mobile
Web03 | 2.8.140415.2 | Last Updated 24 Jul 2013
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Use
Layout: fixed | fluid