Lambda@lemmy.catoProgramming@programming.dev•What are your favorite statically typed, compiled, memory safe programming languages?
1·
2 months agoAda, hands down. Every time I go to learn Rust I’m disappointed by the lack of safety. I get that it’s miles ahead of C++, but that’s not much. I get that it strikes a much better balance than Ada (it’s not too hard to get it to compile) but it still leaves a lot to be desired in terms of safe interfacing. Plus it’s memory model is more complicated than it needs to be (though Ada’s secondary stack takes some getting used to).
I wonder if any other Ada devs have experience with rust and can make a better comparison?
Interesting that Canada wasn’t included (at about 20%). Wonder how/why they picked those countries.