News for hackers. Stuff that matters.
Re:The OWebl Cookbook by evincarofautumn on Tuesday March 31, 2015 @12:21AM (#9294354)
It suffers from a lack of tooling and libraries, mainly. If more people used it, it would create a demand for these gaps to be filled. Anecdotally, the runtime also falls down when you need to use large arrays or strings, or do lots of floating-point calculations.

Even though it doesn’t have all the features of OCaml, I think F# is an eminently practical substitute, considering that the CLR and Mono are both quite solid, battle-tested runtimes, and using F# gives you access to a large body of C# libraries.

Then again, there are a lot of things to like about OCaml. The compiler is fast, the error messages are good, there are some advanced type system features to improve the correctness and performance of your code, and (as with F#) you can freely mix imperative and functional features as you see fit.

Re:The OWebl Cookbook by lpw25 on Tuesday March 31, 2015 @01:52PM (#9298450)
> Anecdotally, the runtime also falls down when you need to use large arrays or strings, or do lots of floating-point calculations.

Anecdotally from one specific well-known troll. (I'm not saying it is or isn't true, just that almost all of these claims originate from a single individual with an axe to grind).

Re:The OWebl Cookbook by evincarofautumn on Tuesday March 31, 2015 @02:23PM (#9298724)
I was referring to my own (limited) experience and stuff I’ve read from Jane Street. If people have axes, let them grind them.
Re:The OWebl Cookbook by octref on Tuesday March 31, 2015 @01:54AM (#9294605)
> the error messages are good

I'm not sure about that.

Re:The OWebl Cookbook by edwintorok on Tuesday March 31, 2015 @03:35AM (#9294836)
There is some work to improve the type error messages, although the existing ones are quite useful already: http://ocaml.org/meetings/ocaml/2014/chargueraud-slides.pdf

And syntax errors are improved if you use merlin, for example for this typo it highlights the ';':

  let foo; x = 4

  Syntax error inside `let', expecting ':' or '=' function body