107
submitted 2 months ago* (last edited 2 months ago) by CoderSupreme@programming.dev to c/programming@programming.dev
you are viewing a single comment's thread
view the rest of the comments
[-] lambdabeta@lemmy.ca 22 points 2 months ago

Ada, 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?

[-] collapse_already@lemmy.ml 5 points 2 months ago

I have done quite a bit of C, C++, Ada, and Pascal development. I recently got into Rust. I am still getting used to Rust, but it feels a bit like someone tried to apply Ada to C++. I like the modern development environment, but I am slower writing code than I would be in Ada or C++. The one feature of Ada that I really like and want other languages to adopt is the Rep spec. I write driver code and being able to easily and explicitly identify which symbol corresponds to which bit is really good.

[-] refalo@programming.dev 2 points 2 months ago

I would use Ada or Spark in a heartbeat if there was an easy-to-use, mature cross-platform GUI library for it.

[-] itsnotits@lemmy.world 0 points 2 months ago

its* memory model is

this post was submitted on 05 Oct 2024
107 points (95.0% liked)

Programming

17696 readers
115 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



founded 2 years ago
MODERATORS