Ask HN: What is the best language to write a REST back end in?

2 points by Coxa ↗ HN
I am currently running Java on a tomcat as backend rest service. Which language would be good to migrate to. Good performance, future proof and I can find other people to maintain as well.

12 comments

[ 3.1 ms ] story [ 40.8 ms ] thread
Hands down DRF: http://www.django-rest-framework.org/

To do basic CRUD stuff, you write like 0 lines of real code. Just use a ViewSet, connect a Serilizer and a Model object. Everything just works and you can save the data into Postgres in no time.

Django is a massive community and you can do a lot more complex things than a CRUD app, but the easy stuff is just soo easy.

It depends what you want the backend for - scale, speed of writing

Im primarily a java developer and wouldnt have a problem writing it using dropwizard or spring boot. But I'd also consider django-rest since i like django, or nodejs as alternatives

How do you feel about nodejs in terms of scale and speed?
Since I develop 99% on Java I would recommend anything along the lines of Spring Boot, Dropwizard or Wildfly Swarm. With Dropwizard I can't say much since I only played with it a little, on the other hand having developed projects with Spring Boot and Swarm I can say both do the job really well, both seem pretty much future proof (even though many claim JEE is dead).

Personally I would go with Swarm since I feel there is less work configuring it. With the added advantage of being used to develop in JEE Environments.

This is one of these questions where everybody recommends his favorite stack and nobody is wrong.
I was mainly wondering whether to use Go or nodejs as backend. Any suggestions regarding scalability and performance?
Both are perfectly suiteable. I dont like Javascript so i would go for go :)
(comment deleted)