OCaml is the LLM secret weapon right now. They are better at writing it than they are any other language.* That’s all I have to say about it.
* Other “pure” hindley-milner languages are tied but among them ocaml has some particular strengths that I’m sure others will discuss.
For web frontend, it's derivative programming language, rescript, is also a secret weapon because of types, fast compilation times and first class support of React. Using React in rescript is much nicer than TypeScript.
Did you also compare F#?
Couldn't agree more. Even when the models could barely write it, the compiler was so good
Flamebait aside, has this been studied for real ? Curious how you would rate that...
Two genuine questions. (1) Why not Rust? (2) Why not Haskell?
(I have my own answers, but I'd love to hear yours, too.)