Comment

Comment by MaxBarraclough

> if rust ever settles down I think it would be great for aerospace 178b and other standards for aircraft. Also cars :)

I imagine the compiler situation would need to change before this could become a possibility. I doubt off-the-shelf Rust/LLVM is appropriate for compiling life-and-death code.

I imagine it would also be necessary to strictly control memory management, using pools rather than doing the equivalent of malloc/free. It seems Rust has a crate for that: https://docs.rs/heapless/0.5.5/heapless/

> I've only ever met one engineer who actually liked coding in Ada.

It certainly lacks many luxuries. For that matter, it also lacks basic examples. I tried to dabble with Ada recently, and pretty quickly ran into trouble (I was unable to figure out how to instantiate any of GNAT's 'bounded containers').

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton