r/ProgrammingLanguages • Futhark • Jan 20 '26

Why not tail recursion?

https://futhark-lang.org/blog/2026-01-20-why-not-tail-recursion.html
62 Upvotes

34 comments sorted by

View all comments

Show parent comment

4

u/franz_haller Jan 21 '26

Thanks for the detailed explanation. But as you point out, almost none of the programming languages in use today have formal, unambiguous specifications. Outside of a couple functional programming languages which see no use outside of academic research, I can't think of any. So what choice Is there really for life and security critical applications?

1

u/jsshapiro Jan 22 '26

Well, I think the avionics and automobile industries might disagree about the practicality of this. The early history of ABS braking at Mercedes is an interesting example.

What has changed over the last 25 years is the degree to which deep expertise in verification is giving way to AI. When the L4 team in New South Wales verified their kernel, it took a very large team to do it. As the tools improve, the reliance on crazy specialized expertise is giving way.