TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: What server side language/framework did you choose and why?

4 pointsby avitzurelover 8 years ago
I&#x27;ve had an interesting discussion in a Ruby&#x2F;Rails related group.<p>Without falling into the &quot;Rails is dead, long live XYZ&quot;, I would love to know what language&#x2F;framework you chose for your startup&#x2F;project&#x2F;company and why...

6 comments

pmontraover 8 years ago
I still believe that Rails is more productive than anything Python, because of basic choices in both the design of the frameworks (I&#x27;ve used Django, Web2py and Flask) and the underlying language. With the same level of skills you write less code in Rails and deliver quickly also because of the predictability of where stuff is.<p>Phoenix can be an alternative, at least you get some advantages with parallelism. Elixir could have been designed to require less boilerplate when doing common operations like creating genservers. Basically you can copy&#x2F;paste and search&#x2F;replace the code around the functions that would be methods in Ruby, which is a waste of time, but the thing that every object (the genserver) has its own CPU is great.<p>That is what I suggest to customers that don&#x27;t care about the language of new projects. If they already have invested in a language anything would do. I&#x27;ve seen PHP frameworks with various degrees of predictability and readability, JavaScript (always anarchically written applications), Java 8 (can&#x27;t remember the framework but something modern, much improved compared to years ago, but still unproductive because of Java&#x27;s verbosity). I wouldn&#x27;t use any of them in my company. It would be Rails or Phoenix and a separate project for the frontend, possibly with some server rendered pages to reduce the time to see the initial content. I could consider writing Ruby and deploying to the JVM for parallelism.<p>I never seen or used Go or .NET. Did anybody already use the latter to deploy to Linux servers and has experience to share?
angersockover 8 years ago
First time I tried doing a web startup, we used Rails, Sinatra for testing, and no real client-side JS. Ruby provided a fairly familiar way of thinking about classes and objects, and had enough sugar and utilities and great libraries to get a project up in reasonable time.<p>The second web&#x2F;healthtech startup I was an early engineer and engineering lead on, and we used Node and C&#x2F;C++. I initially wanted to backport practices from Ruby and Rails--and did so making some view helpers and other things--but eventually I came around to really enjoying Javascript as a functional-C-with-closures-and-associative-arrays. Almost all of my subsequent hacks and prototypes were in JS, going as far as Angular until it was rolled back for simpler-to-maintain pure JS.<p>Nowadays I wouldn&#x27;t bother doing any server-side stuff not in Erlang or Elixir, because the community is a bit mature and conservative and because the languages don&#x27;t have a lot of magic and are still quite performant. My best-tested web application would probably be an Elixir message board.
评论 #13119509 未加载
hawkiceover 8 years ago
I used to use Elm + Elixir&#x2F;Phoenix and am transitioning to Rust&#x2F;Elm. Both for the same reason: I don&#x27;t want things breaking. Elixir is pretty great for that, but odd DB connection problems every ~1.5 server-years left me with a emergency-response burden that was a little too much (across all my services).
aikahover 8 years ago
&gt; I&#x27;ve had an interesting discussion in a Ruby&#x2F;Rails related group.<p>if the discussion has a log somewhere on the web it would be interesting to provide a link.<p>I don&#x27;t choose this or that tech for the sake of it. I choose the right tool for the job or what the client imposes. So it should mostly be about the requirements. Obviously some techs are more versatile than others.<p>The community is also important. Getting help from a respectful and friendly community is important. Because there are some really shitty language communities out there...
评论 #13119403 未加载
squiguy7over 8 years ago
I get to use Go at my day job and have had great success with it considering it has a great ecosystem of third-party packages. It&#x27;s nice to have graceful shutdown, middleware chaining, and request contexts in tandem with easy concurrent programming.<p>The only troubling thing is trying to find a package manager that makes sense and so far that has been glide.<p>Perhaps someday I will get to use Rust paired with the new async libraries that are being worked on.
meiraover 8 years ago
Clojure, because it is Lisp, run on the JVM, node and browser.