Remix.run Logo
▲ vintagedave a day ago

By talking Rust-style safety? Or other language features?

▲Rochus a day ago | parent [-]

Ada already has language-level contracts and tasking; SPARK has ownership and borrowing rules for Ada pointers. The "allowing multiple readers but ruling out mutation while those read-only aliases are live" in the demo is what made me think of SPARK.

▲vintagedave 17 hours ago | parent [-]

I think I need to understand Ada more. I know it exists, and I know it is a Wirth-ian language, but I approached safety from 'what have we learned from Rust and how can we apply it to Pascal' without strongly examining what preceded Rust. People know Rust, but don't know other languages.

Ada seems very worth examination for updating Pascal.

▲Rochus 13 hours ago | parent [-]

Ada is a big and impressive language, and in many respects it goes much further than Rust in terms of safety. It's actually not a "Wirth-ian language", but has some similarities with Pascal syntax. In fact, Ada can be seen as the "antithesis" of Wirth's minimalism.