That is a valid position to take, so long as you accept that all of those options have a cost in program maintenance.
Expressing everything via a proof or with an involved type system is overhead when you are reading code after the fact. You can argue that this is offset by any number of things, but that is how it is.
There's also something to say about the fact that we already have an educational industrial complex that pumps out Java developers of at least some level of training. We don't have that for lean.
If you wanted to investigate replacing parts of the jvm that are currently C++ with lean proved components, that would have high value.
In my experience Rust is much lower cost to maintain than Java. Rust is harder to initially write, but overall it forces developers to use simpler designs - especially the aspect of sharing data. Rust programs have usually simpler data flow and are easier to reason about.
View all comments
Show parent comment
6
u/bowbahdoe 4d ago
That is a valid position to take, so long as you accept that all of those options have a cost in program maintenance.
Expressing everything via a proof or with an involved type system is overhead when you are reading code after the fact. You can argue that this is offset by any number of things, but that is how it is.
There's also something to say about the fact that we already have an educational industrial complex that pumps out Java developers of at least some level of training. We don't have that for lean.
If you wanted to investigate replacing parts of the jvm that are currently C++ with lean proved components, that would have high value.