Breaking News
Design How-To

High-integrity object-oriented programming with Ada - Part 1

NO RATINGS
Page 1 / 4 Next >
More Related Links
View Comments: Newest First | Oldest First | Threaded View
Page 1 / 2   >   >>
Mario Blunk
User Rank
Rookie
re: High-integrity object-oriented programming with Ada - Part 1
Mario Blunk   4/3/2012 1:17:34 PM
NO RATINGS
Hi there, I'm about to begin programming in a language other than assembly and shell programming. I'm also used to code hardware designs in Verilog HDL. So I'm asking myself whether it is useful for me to start right with ADA and ignoring all the C/C++/Java... My mind has not been "spoiled" with this stuff :-) So what do you guys recommend ?

John Smith
User Rank
Rookie
re: High-integrity object-oriented programming with Ada - Part 1
John Smith   2/7/2012 10:07:12 AM
NO RATINGS
This is a very valuable post, I found it looking through Google. I believe most readers will agree with your views. Finally – a person with common sense! http://www.zuneauto.com

Powernine
User Rank
Rookie
re: High-integrity object-oriented programming with Ada - Part 1
Powernine   10/24/2011 2:39:13 PM
NO RATINGS
About being adequate for general and embedded development you can do in ADA what you can do in C (eg bit manipulation) except that it is safer and cleaner. You can aslo do things you cannot do in C like controlling the address a variable is stored in. In C you have to use pointers and lose all "compiler protection". In Ada you can do like that but haven't to and shouldn't to. About RTEs the reason is because ADA vendors cut costs by using preexisting libraries and these are, unfortunately because they are a source of bugs, in C.

Aaron451
User Rank
Rookie
re: High-integrity object-oriented programming with Ada - Part 1
Aaron451   8/4/2011 9:30:08 PM
NO RATINGS
I used Ada '83 for several years do hard-realtime software (motor control) with great success. Now I do the same thing in 'C' and with for the Ada tools. It took a bit of time to learn, but once I got it down coding went fast and debugging was almost an after-thought. AND REAL code reuse was in the 80% range from project to project.

cdhmanning
User Rank
Rookie
re: High-integrity object-oriented programming with Ada - Part 1
cdhmanning   7/28/2011 3:14:44 AM
NO RATINGS
If you really want to play, there's Ada for Lego Mindstorms robots... http://libre.adacore.com/libre/tools/mindstorms/ Free download. This runs on a small ARM micro and should be readily portable to other small ARM systems. The Mindstorms Ada environment seems to use the Lejos code as its underpinnings. That is written in C.

cdhmanning
User Rank
Rookie
re: High-integrity object-oriented programming with Ada - Part 1
cdhmanning   7/28/2011 2:46:34 AM
NO RATINGS
I can write a complete system in C, with a few lines of assembler for the start up code etc. Can you do that in Ada? From what I've seen Ada RTEs are written in C or such because Ada isn't flexible enough.

Ed Falis
User Rank
Rookie
re: High-integrity object-oriented programming with Ada - Part 1
Ed Falis   7/26/2011 11:57:39 PM
NO RATINGS
Here you go: http://www.cubesatlab.org/LunarLander/index.html

UncleFin
User Rank
Rookie
re: High-integrity object-oriented programming with Ada - Part 1
UncleFin   7/26/2011 2:58:53 PM
NO RATINGS
I am not sure what "general embedded development" is, but the orgainization I belong has used Ada as the primary language for many of our avionic systems - ranging from small high integrity controllers to flight management systems.

cdhmanning
User Rank
Rookie
re: High-integrity object-oriented programming with Ada - Part 1
cdhmanning   7/26/2011 2:08:11 AM
NO RATINGS
From what I've seen, Ada is just too limited to be completely useful for general embedded development. Ada might be good for writing some parts of the code, but not all. It is hard to partition many systems into stuff to be written in Ada and stuff that should not. Ada seems particularly unsuited to writing device drivers, interrupt service routines and such. You can get GNAT for ARM and even AVR.

Niklas Holsti
User Rank
Rookie
re: High-integrity object-oriented programming with Ada - Part 1
Niklas Holsti   7/24/2011 6:59:06 PM
NO RATINGS
Links in reply to Dixy3: GNATDroid, a version of the GNU Ada compiler GNAT for Android: http://www.dragonlace.net/ AVR-Ada, a version of GNAT for the Atmel AVR chips: http://sourceforge.net/projects/avr-ada. and the trump: an Ada compiler that generates C code and thus targets any system that has a C compiler: http://www.sofcheck.com/products/adamagic.html The AdaMagic compiler is being used for a CubeSat project, I believe.

Page 1 / 2   >   >>
Most Recent Comments
NIRANKUSH456
 
NIRANKUSH456
 
David Ashton
 
Rich Krajewski
 
sranje
 
MeasurementBlues
 
MeasurementBlues
 
Sanjib.A
 
David Ashton
Flash Poll
Radio
LATEST ARCHIVED BROADCAST
Join our online Radio Show on Friday 11th July starting at 2:00pm Eastern, when EETimes editor of all things fun and interesting, Max Maxfield, and embedded systems expert, Jack Ganssle, will debate as to just what is, and is not, and embedded system.
Like Us on Facebook

Datasheets.com Parts Search

185 million searchable parts
(please enter a part number or hit search to begin)
EE Times on Twitter
EE Times Twitter Feed
Top Comments of the Week