News for hackers. Stuff that matters.
Re:Multicore OCaml: Feb 2020 update by wk_end on Friday February 28, 2020 @09:27PM (#22448308)
Facebook uses Ocaml in the form of Reason, they're a pretty big deal. I think they also use Haskell?

Lots of financial companies, including some serious heavy-hitters like Bloomberg, use functional languages like Haskell and Ocaml. I suppose the blockchain folks are pretty enamoured with it too.

Plenty of big companies like Twitter use Scala, which is plenty functional.

Even on the front-end side: JavaScript was directly inspired by Scheme; TypeScript was hugely inspired by languages like Ocaml and Haskell; React and Redux's inspirations fall directly out of the functional programming community.

Rust, out of Mozilla, is also a descendent of the functional programming world; its compiler was originally written in Ocaml.

Just the other day there was a conversation on here about type-system enforced optionals. Almost every "modern" language has grown these in the past decade, often including monadic combinators to help minimize boilerplate. All of this comes from what ML and Haskell were doing as many as 30 years ago.

Speaking of monadic combinators: these are also frequently used in modern languages with async libraries to avoid what the JS community termed "callback hell".

TBH if you've developed software in the past ten years, it's unlikely you haven't been hugely affected by what the FP community has been doing, and it's not impossible that watching what they're doing now give you a glimpse of where mainstream programming will be a decade or more down the line.

Re:Multicore OCaml: Feb 2020 update by terminaljunkid on Friday February 28, 2020 @11:55PM (#22448944)
> "TBH if you've developed software in the past ten years, it's unlikely you haven't been hugely affected by what the FP community has been doing."

Apart from HN / reddit bubble, not many people know about FP, and not to imply that's their fault. FP is still weird, difficult for mere mortals, and ivory tower elitism is holding some of its useful ideas back.

Re:Multicore OCaml: Feb 2020 update by pjmlp on Sunday March 01, 2020 @06:00AM (#22456331)
Well, most Portuguese students with university degree in Informatics happen to have been exposed to FP and LP during their 5 year degree (or 3 + 2 as they usually do it nowadays).

Given that most HR departments still value having a degree, that is still quite a bit of people, specially if one extrapolates to other countries that share similar attitude to universities and HR hiring practices.

Re:Multicore OCaml: Feb 2020 update by sideeffffect on Saturday February 29, 2020 @07:40AM (#22450272)
people are doing FP, or using ideas originating in FP without even knowing it:

* Java/C# generics

* sealed interfaces and record classes

* pattern matching

* first-class functions with closures

* even type system itself (eg Python is gaining a type system)

* ...

The world of programming languages is converging, no matter how slowly, towards ML

https://www.cs.cmu.edu/~rwh/talks/mlw13.pdf

Re:Multicore OCaml: Feb 2020 update by terminaljunkid on Sunday March 01, 2020 @08:35AM (#22456778)
Half of those things aren't even specific to FP. And I bet most people don't even use pattern matching outside HN / reddit bubble, not to say it isn't cool.