Ask HN: Why does Heroku support less known JVM languages?
It makes me think that they possibly derive more revenue from resource-hungry JVM languages and that might be a big reason.
Do you have any theories or data?
It makes me think that they possibly derive more revenue from resource-hungry JVM languages and that might be a big reason.
Do you have any theories or data?
It's also not that much technical effort to support an additional JVM language: they already support runtime deployments on the JVM, so they just need to learn & automate a new build toolchain, and then the deployment artifacts are basically the same as for the JVM. I'd bet this portion of their stack is isolated from the runtime & auto-scaling parts, so they can assign a few engineers to it, build out the tooling, and then have it just feed into the existing JVM stack.
High profitability + low cost = it makes a lot of business sense to do it.
Our determination to officially support a language is based on numerous factors including community demand, relationship with other technologies, suitability to the platform (C++ is really popular but not for web apps), and more. In any case, I wouldn't read too much into our support--it's not a determination on the language itself.
Fun fact: Clojure was the first JVM language supported on Heroku back in 2011 (even before Java itself)! https://blog.heroku.com/clojure_on_heroku
Today, Heroku support Java (with Maven or Gradle), Scala, and Clojure buildpacks. JRuby is supported via the Ruby buildpack. Buildpacks are the mechanism that prepares each app for production, so in some ways our support is more tightly coupled to the build tools than the language. That's why we don't have a Kotlin buildpack (it can use the Maven or Gradle buildpack accordingly). In fact, there's nothing specially you need to do to run a Kotlin app on Heroku, so we have some docs and there isn't much more to say about it. We've also worked closely with the Kotlin folks to make sure the ecosystem plays well with Heroku.
Let us know if you have any trouble with Clojure on Heroku. Stackoverflow.com is a great place to start (and I personal try to watch for questions tagged with "Heroku" and "Clojure").