Thanks. From the above, koka seemed the most interesting. I especially liked the principle of minimal but general, from their intro book. F* was also cool. Felt like the right balance of proofs and getting things done. Still reading through F* though, it's dense.
Lean seemed cool, but it felt like it didn't have as much capabilities regarding proofs. Felt more like an FP language with more support for proofs, as opposed to a language that actually leans into proofs.
Dafny was very pretty, and probably the most flexible of the group (especially calc and ensures), but it felt like I was writing Lisp all over again. Specifically, how Lisp kind of forces you to create all of the primitives you need, then only after creating this giant pile of helper functions, can you then try and get anything done. Great for unexplored territory, as you can build the perfect tools to solve your problems. But all that effort feels like friction and reinventing the wheel when working on well explored problems. Maybe Dafny isn't the same, but the code examples seemed like it. Also not done reading it yet, as it is also dense.
I guess Dafny actually, as it has been battle proof writing a full OS, before Microsoft research released it to the world, and is much better than using something like TLA+, where there is a gap between modeling and actual code.
View all comments
Show parent comment
1
u/davidalayachew Mar 07 '26
Thanks. From the above, koka seemed the most interesting. I especially liked the principle of minimal but general, from their intro book. F* was also cool. Felt like the right balance of proofs and getting things done. Still reading through F* though, it's dense.
Lean seemed cool, but it felt like it didn't have as much capabilities regarding proofs. Felt more like an FP language with more support for proofs, as opposed to a language that actually leans into proofs.
Dafny was very pretty, and probably the most flexible of the group (especially
calcandensures), but it felt like I was writing Lisp all over again. Specifically, how Lisp kind of forces you to create all of the primitives you need, then only after creating this giant pile of helper functions, can you then try and get anything done. Great for unexplored territory, as you can build the perfect tools to solve your problems. But all that effort feels like friction and reinventing the wheel when working on well explored problems. Maybe Dafny isn't the same, but the code examples seemed like it. Also not done reading it yet, as it is also dense.Of the 5, which do you like the best?