News for hackers. Stuff that matters.
Re:I stopped everything and started writing C again by kqr on Wednesday March 12, 2025 @02:49PM (#43346442)
Indeed. I'm still not entirely sure why Rust was created when we have Ada, but if I had to guess it's mainly because Rust has slightly more advanced tricks for safe memory management, and to some degree because Rust has curly braces.
Re:I stopped everything and started writing C again by jhbadger on Thursday March 13, 2025 @11:48AM (#43354482)
Ada use was strongly tied to the US DoD, which put some people off it, for one.
Re:I stopped everything and started writing C again by kragen on Thursday March 13, 2025 @12:46PM (#43355030)
Ada doesn't attempt to statically exclude data races or aliasing bugs. Rust does. I guess you're calling that "slightly more advanced tricks for safe memory management", which sounds wildly inaccurate to me; those problems aren't usually considered "memory management" at all. Rust also has better error handling, a stronger static type system, a Turing-complete compile-time macro system, and much less verbose code.