Ask HN: Which functional language has the best ecosystem for a web backend?
11–20 of 80 posts
Re: Ask HN: Which functional language has the best ecosystem for a web backend?
#12Re: Ask HN: Which functional language has the best ecosystem for a web backend?
#13Re: Ask HN: Which functional language has the best ecosystem for a web backend?
#14Re: Ask HN: Which functional language has the best ecosystem for a web backend?
#15Re: Ask HN: Which functional language has the best ecosystem for a web backend?
#16As an addition, there's also ClojureScript for the front-end. It's come a long way recently, and I've been using it for the last couple of years in production (check out reagent and re-frame if you're interested).
Re: Ask HN: Which functional language has the best ecosystem for a web backend?
#17Today I would say Java/Scala mostly because of jvm access to huge numbers of libraries. But also because of things like Akka. There may be other options depending on whether you consider JavaScript or Go to be a functional language.
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.
Re: Ask HN: Which functional language has the best ecosystem for a web backend?
#18http://science.raphael.poss.name/rust-for-functional-program...
Rust has an ecosystem for building web backends.
Does Rust have the best ecosystem for a web backend, though? I think that will depend on who you ask and what you are looking for specifically.
Re: Ask HN: Which functional language has the best ecosystem for a web backend?
#19Today I would say Java/Scala mostly because of jvm access to huge numbers of libraries. But also because of things like Akka. There may be other options depending on whether you consider JavaScript or Go to be a functional language.
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.
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?
#20Clojure! the thing I like most about a lot of the libraries is how they seem to blend so seamlessly. I don't know if it's an artefact of just being a lisp or just a lot of the developers sharing a mindset, but the whole experience feels less janky.
If you want to play around with getting up and running with a functional clojure backend, I put up this:
https://github.com/tuddman/moarweba
feedback welcome