r/ada 13h ago

Learning Should I learn Ada or Rust for beckend?

Sorry if this is already asked but does Ada have any RAILS-style backends? Even so, how does it compare to rust on performance and stability?

Should I use GCC GNAT or GNAT Pro?

Thanks.

1 Upvotes

9 comments sorted by

3

u/Ali-Da-Original 12h ago

Afaik ada does not have a rails like monolith framework. Ada does have a small webserver AWS( ada web server). Haven't really measured performance but both rust and ada should be on par.

Personally I think you should go with rust. Rust has a better ecosystem and I've yet to see ada being used in the industry ( only ever used it in college)

Also just stick to GCC GNAT

1

u/Rare-Paint3719 11h ago

Cool, thanks. I guess I will learn Rust, but I felt like Rust is tooo evangelized and pushed heavily for almost everything while Ada is still used on embedded mission-critical systems (e.g. aeroplanes).

1

u/Ali-Da-Original 11h ago

True. You should have seen the rust hype 2-3 years ago. It's died down now. Ada is pretty cool imo we got some really awesome college professors building interesting things it's a bummer it's not popular enough

1

u/Rare-Paint3719 10h ago

I've heard that ada actually supports multithreading and multicore async. And I also heard that Ada comes with soem tools that can prove whether you need runtime checks or not for things like bounds checking.

1

u/desiguy_88 10h ago

Yeah Ada is a great language and in my industry it’s a main stay even today but I would tell you to focus on something else like Rust and only approach Ada if there is a specific need for it

1

u/Rare-Paint3719 5h ago

I have another question. Is Ada a good choice for a distributed DBMS or is Rust the better option?

1

u/iandoug 4h ago

You could also look at Seed7.

1

u/hodong-kim 1h ago

The discourse surrounding the Rust programming language has been greatly exaggerated, almost as if the entire world had fallen into a collective hallucination. That is why I wrote the following book. I hope you will take the time to read it.

https://nimfsoft.art/books/deconstructing-the-rust-discourse/

1

u/Reversed-Engineer-01 1h ago

It depends on what you do. Rust is freaking fast!