←back to thread

296 points gyre007 | 1 comments | | HN request time: 0.352s | source
Show context
pnako ◴[] No.21287265[source]
Because it's not that useful.

There is an contest organized by the International Conference on Functional Programming: https://en.wikipedia.org/wiki/ICFP_Programming_Contest

It was more or less designed to show the superiority of functional programming languages. Yet in that contest C++ has done better than OCaml or Haskell...

The FP crowd seems to be more active doing advocacy than writing code. Yes, we know, there is that one trading company using OCaml. It's such a niche language that they have to pretty much maintain the toolchain and standard library themselves. Meanwhile, plenty of more successful companies use C++, C# or Java with no problem.

If you want to convince someone of the superiority of FP, write a real killer application. A new browser to compete with Chrome, a video game that can dethrone Skyrim or the Witcher 3. Maybe a DBMS that's even better than PostgreSQL? Basically: show, don't talk.

replies(2): >>21288479 #>>21288954 #
1. iLemming ◴[] No.21288954[source]
> A new browser to compete with Chrome

Firefox is written in Rust

> a video game that can dethrone Skyrim or the Witcher 3.

afaik latest "God Of War" is written in Rust

> Maybe a DBMS that's even better than PostgreSQL?

Datomic - Clojure, Mnesia, Riak, CouchDB - Erlang

Yeah, I know that Rust is not FP lang, it's imperative, but it does adhere to FP principles.

"it's not that useful"? Heh.