←back to thread

Why F#?

(batsov.com)
438 points bozhidar | 1 comments | | HN request time: 0s | source
Show context
darksaints ◴[] No.43549778[source]
I'm completely convinced that F# (along with Scala, Haskell, and OCaml) adoption has stalled due to having ridiculously bad build systems. More significantly, they are being passed up in favor of Rust, which is a great language but nonetheless a bad fit for a lot of problem domains, simply because Rust has a superior build system. Hell, 80% of the reason I choose Rust over C++ for embedded work is because of the build system.

It baffles me that there are languages with non-profit foundations and are financially backed by multiple corporations which still have bad build systems. It is the most important investment you can make into a programming language.

replies(7): >>43551301 #>>43552671 #>>43554790 #>>43554888 #>>43555737 #>>43556392 #>>43559547 #
Lyngbakr ◴[] No.43551301[source]
While I've never used it in anger, I really quite like dune. Was there something specific that makes you characterise it as "ridiculously bad"?
replies(1): >>43552853 #
noahbp ◴[] No.43552853[source]
Not Dune exactly, but having to run 'eval $(opam env)' in the terminal every time you open an OCaml project rather than the default being npm-like, where you can just open the directory and use the package manager command without having to think about it.
replies(2): >>43555245 #>>43555920 #
1. johnisgood ◴[] No.43555920[source]
The only issues I've had with OCaml's build system is using "ocamlopt", "ocamlbuild", "ocamlfind" manually, but this was solved by OASIS and now Dune. I don't need to think about it. It automatically compiles when I save the file in Emacs. Very easy to set it up (one time setup).