5 ms·
Clojure on Heroku
- olifante 15y agosweet but surprising. This would probably never have happened if the author of Ring didn't work for Heroku. Anyway, definitely a major milestone for the most elegant language of the last 5 years.
- rhdoenges 15y agoThat explains why they have JVM support but have neglected to do Scala or other JVM languages yet.
- GrooveStomp 15y agoI'm pretty sure you're talking about Brat or Ioke, although I'm not sure. :D
- abp 15y agohttps://github.com/mmcgrana/ring https://github.com/mmcgrana/ring
- Nate75Sanders 15y agoGrooveStomp is referring to the "most elegant language" part of the post -- not the part about the author of Ring.
- olifante 15y agoThis also means that technically there is no reason why Heroku Cedar couldn't support other JVM languages, such as Scala. It would be fun to watch Scala and Clojure fight it out on an even playing field.
- icey 15y agoI'm not sure in what way you mean "fight it out", but I'm glad that Heroku opted to start with Clojure... As a guy trying to get on the JVM, the experience of getting up and running with Clojure has been significantly easier and less "fiddly" than trying to get a decent Scala environment set up.
- LiveTheDream 15y agoCan you explain further what was difficult about getting a Scala environment set up? For me it was "sudo port install scala", "sudu port install sbt", cd to/my/project/path, "sbt".
- icey 15y agoGetting Scala & SBT installed hasn't been the tough part, it's getting it working with any IDE that has been complicated. A big part of the problem is that documentation seems to equally point to information for Scala 2.7 and 2.8, and less so for 2.9; but the directions are different for each version. Added to that are the differences between SBT 0.7.x and SBT 0.10.x. It makes it tricky to know what parts of the documentation are still valid and which parts have changed. Then you pick an IDE (Eclipse, IDEA, Emacs w/ Ensime) and figure out what plugins are valid today and what versions of Scala they work with and hope that it all matches up. With Clojure & emacs it's just a couple of commands to get Clojure installed and have a project correctly set up. I do like Scala, but there are still many rough edges that aren't helped by the frenetic pace of breaking changes in the ecosystem. I'm sure part of it is that I'm coming to Scala without any substantive Java background. (For whatever it's worth, emacs with Ensime had the best / most straightforward installation path out of any of the other IDEs)
- joshhart 15y agoIn my opinion, working with the IntelliJ has been very easy in Scala. There's an excellent plugin that you may want to check out if you haven't already that lets you generate IntelliJ project files from sbt. https://github.com/mpeltonen/sbt-idea https://github.com/mpeltonen/sbt-idea
- choffstein 15y agoVery interesting. Seems rather niche, though after the recent sale of Phenona (which I believe was on Hacker News a couple weeks ago), I can see why everybody would be rushing to become the cloud-deployment solution for any language vertical.
- moomin 15y agoMaybe they're targeting the kind of people who stayed awake when PG talked about LISP.
- wingo 15y agoRemarkable. Congratulations, clojure folk, for a fairly mainstream Lisp coup. [Edit: Also, props to the Heroku folk for doing something a bit off the beaten path. I'm sure clojure is lovely, but it wasn't the "obvious" next thing to work on.]
- ericlavigne 15y agoExcellent news! Heroku is the only reason I gave Ruby/Sinatra a try for a while. I love the idea of having Heroku-style deployment without giving up Clojure.