Hacker News new | ask | show | jobs
by jan_m_savage 16 days ago
>>> "With support for Rust, Aristotle can prove that your code has no undefined behavior and does exactly what its spec says"

Finally the industry is coming back full circle to the days of program-by-proof--a concept at least several decades old.

2 comments

I wouldn't complain nearly as much about AI coding if the dominant paradigm was program-by-proof with supercharged synthesis, if it were web designers drawing Figma mockups and developers writing specs. I used Prolog and that was pretty joyful, how much worse would it be if we invented a tiny reasoning model purely for translating declarative constraints into a procedural IR with a soundness proof?
Indeed.

BTW, Prolog has been actively used in Japan (even today).

It's a very interesting language, so I have to ask how exactly they're using it? Is it for logic-heavy stuff like user account management, databases with Datalog, or the slightly forced procedural stuff, like how I heard the first Erlang was written in Prolog...
Is it better to go back several decades late or just never go back at all?
Well, of course, better late than never. I was just expressing a meta pattern of how humans behave in general.