js actually supports functional paradigm. So, node.js has the most mature ecosystem for web i guess.
There’s a huge difference between being a functional language and supporting functional paradigms. Nearly every major language does the latter, but if you consider immutability a key functional feature, for example, you’ll sorely miss it when the language doesn’t really support it.
Ask HN: Which functional language has the best ecosystem for a web backend?
31–40 of 80 posts
Re: Ask HN: Which functional language has the best ecosystem for a web backend?
#32It's very hard to learn, especially if you're not that familiar with Haskell and SML/OCaml, but once you grok it writing CRUD apps is a breeze. Just be prepared to spend a lot of time looking at the standard library's signature files.
Re: Ask HN: Which functional language has the best ecosystem for a web backend?
#33js actually supports functional paradigm. So, node.js has the most mature ecosystem for web i guess.
There’s a huge difference between being a functional language and supporting functional paradigms. Nearly every major language does the latter, but if you consider immutability a key functional feature, for example, you’ll sorely miss it when the language doesn’t really support it.
Re: Ask HN: Which functional language has the best ecosystem for a web backend?
#34Earlier quoted context omitted.
Scala has a number of good HTTP frameworks, Play, spray/akka-http and Lift come to mind. Spring boot (Java) is also very decent, and Play and akka-http have both first-class Java and Scala API's. Kotlin has the same JVM advantage.
The OP specifically asked for a functional language, though. Java and Kotlin have adopted some ideas from functional languages, but they aren't themselves functional languages, and their HTTP frameworks certainly aren't designed along functional lines. Scala is, amongst other things, a functional language. How much to its HTTP frameworks embrace that?
Re: Ask HN: Which functional language has the best ecosystem for a web backend?
#35Re: Ask HN: Which functional language has the best ecosystem for a web backend?
#36For backend you'd have Scala on the JVM side and F# on the .NET side.
F# on .NET Core is stable and there are templates for an F# web application.
Re: Ask HN: Which functional language has the best ecosystem for a web backend?
#37Re: Ask HN: Which functional language has the best ecosystem for a web backend?
#38Elixir/Erlang are one among best functional programming languages for web today. Phoenix is a very performant and productive web framework. You can build a typical web app really fast using Phoenix and Elixir.
Re: Ask HN: Which functional language has the best ecosystem for a web backend?
#39For example you might be interested in: http://8arrow.org/caveman/
Lisp ecosystem is really mature and gives you a lot of freedom.
Dynamic typing, interpeted language, homoiconity, tons of great battle-tested libraries etc., Lisp is truly a great language for backend web development.
Even this very site runs on a homebrew lisp dialect (Arc) running on Dr. Racket (Scheme). If even that bizarre setup (sorry PG :)) can handle this much traffic on a single server, you shouldn't worry about speed or scalibility if you opt for Common Lisp.