110

Ada 2022

My understanding is that most of Adas users are maintaining legacy systems.

It'd be great to hear from anyone who is using it today by choice.

5 hours agorustyhancock

After some search for programming languages which promise to reduce the number of bugs, I decided to give Ada (2012) a try.

I like it better than C and C++ and the compiler is included in Debian in a reasonably recent version that it can compile the code that I need.

Ada is particularly nice for programming RPI 2040 microcontrollers because for my needs I didn't need additional libraries. For both of my RPI 2040 projects (one of which is online here: https://masysma.net/37/dcf77_vfd_raspi_clock.xhtml), my code had fewer bugs than I had anticipated.

For general purpose systems programming the lack of free software libraries is still a concern e.g. while working on a custom backup restore program I had to write my own LZ4 extractor and Blake3 hash function implementation because there wasn't any existing libraries that I could find for the purpose.

5 hours agoLinux-Fan

I use Ada for a lot of projects where C would otherwise be the default language of choice. I find that I spend much less time getting tied up debugging silly errors. In a lot of cases, Ada makes it difficult to do things the wrong way. When I move from working in C to Ada, there isn't much I miss, but when I move the other way around, I feel like I'm missing so much!

3 hours agoajxs

We used it for a new Defense/Aerospace projects. Language-wise it's fine although verbose. Intent was to separate similar IP so there was no claim of cross contamination. Built-in threading and a robust standard library is nice.

Tool-wise - refactoring was a bit of a pain.

2 hours agogte525u

The Ada stronghold is aerospace and defense systems. So these may or may not be legacy systems, but they are safety-critical or mission-critical systems that rely on long standing well defined development processes. That inflexibility means that advancements in the technology are very slow to creep into usage. That goes not only for the languages/compilers but also the silicon and everything in between.

5 hours agometalliqaz

The same can be said for Cobol and its relarionship with banking, but you will struggle to find anyone not categorizing cobol as legacy.

5 hours agokrior

I'm not in banking so I don't know if banks write new business logic with Cobol or merely maintain existing systems. I would be very surprised, though, if modern web-based products are using Cobol, or fancy high-speed trading platforms, or big data-driven machine learning, etc.

5 hours agometalliqaz

That's quite the non sequitur. The relationship you mention isn't why COBOL is legacy.

3 hours agojibal

Ada doesn't even have a "++" operator to increment a number. SAD!

31 minutes agoantiquark

Many ada devs probably write software i would not be comfortable writing. Its always been a kind of place i dont want to be part of.

5 hours agophplovesong

It's used for planes, trains, and automobiles. No reason to feel uncomfortable working on those things.

3 hours agoJtsummers
[deleted]
5 hours ago

I wonder what Ada Lovelace would think about her namesake being the language for weapon systems.

5 hours agozardo

She was an aristocrat in the greatest empire the world had ever seen. She is unlikely to have objected to weapons systems per se.

4 hours agograemep

I’d rather fly in an airplane with a system coded in Ada/Spark rather than Python ¯\_(ツ)_/¯

5 hours agozorobo

you have problem with Snakes in a plane ?

5 hours agohomarp

[dead]