re: Reasons for loving Ada. #1: strong typing VIEW POST

FULL DISCUSSION
 

Thanks for writing this article!

A comment to the small device part of your article:

About a year ago I 3D-printed a nice Lighthouse (designed by Estlin Haiss) and decided to equip it with rotating light.

The rotating light as can be seen on this short clip is delivered by 14 LEDs controlled by an attiny4313 (AVR) with all code written in Ada (AVR-Ada).
It has no tasking support, but are using Interrupts. The LEDs are modulated with software-implemented PWM, and the code was designed so it could be tested on my PC. Code has not been optimized for neither speed or size.

Resulting code size: 1190 bytes.
Resulting data size: 220 bytes.

I think it is safe to say that Ada can go small as well :-)

code of conduct - report abuse