罗马Samborskyi | Dreamstime.com
Code Engineer Promo

Ada for the Embedded C Developer

May 27, 2021
Why would you need to consider learning another programming language?

This article is part of theEmbedded Softwareseries:Ada for the Embedded C Developerand theTechXchange:Developing High Quality Software

If you’re a C programmer, then you’ve probably heard about Ada but discounted it because, well, it isn't C. And why would you need to consider learning another language anyway?

While C is considered a good choice for desktop programs or applications where a shortened time-to-market is a major objective, it’s poorly suited for working within the domain of high-integrity systems. Ada's strength is in areas where reliability is paramount. It’s heavily used in embedded real-time systems, many of which are safety-critical. Specific domains include aerospace and defense, civil aviation, rail, automotive, and medical, among others. These applications require a high degree of safety: A software defect isn’t just an annoyance—it may have severe consequences.

Learning Ada isn’t complicated. Programming paradigms haven’t evolved much since object-oriented programming gained a foothold, and the same paradigms are present one way or another in many widely used languages.

Each of these articles addresses different aspects of Ada and its relationship to C and embedded programming:

AdaCore recently launched a newAda for the Embedded C Developercourse that introduces you to the Ada language by comparing it to C. It assumes that you have good knowledge of the C language. It also assumes that the choice of learning Ada is guided by considerations linked to reliability, safety, or security. In that sense, it teaches you Ada paradigms that should be applied in replacement of those usually applied in C.

This course also introduces you to the SPARK subset of the Ada programming language. It removes a few features of the language with undefined behavior, so that the code is fit for sound static-analysis techniques.

If you’re interested in learning to program in Ada, or if you need to perform an assessment of possible languages to be used for a new development, or you’re currently working on an Ada project and would like more background, this course is for you!

Sponsored

Various Led Ring Lighting Patterns Reference Design

Download ready-to-use system files to speed your design process.. Products. Includes TI products in the design and potential alternatives.. Technical do…

Reading S-Parameters Like a Book

Now Available On Demand. The second important way of characterizing interconnects is using S-parameters.. In this webinar, we open the black box of S-p…

Enhancing Smart Home Security with 3D Magnetic Sensors

Feb. 10, 2022
Download PDF Version. Allegro MicroSystems. Introduction. Household electronic systems with higher levels of integration are quickly being adopted to en…

336-W Auxless AC/DC Power Supply Reference Design with 80 Plus Platinum Compatible Performance

A fully assembled board has been developed for testing and performance validation only, and is not available for sale.. Design files. Download ready-to…

表达您的意见!

This site requires you to register or login to post a comment.
No comments have been added yet. Want to start the conversation?
Baidu