Hacker News new | ask | show | jobs
by spuiszis 3024 days ago
As a Ruby/Rails dev, the OP makes a good, directionally correct point: "I don’t believe that simply being better than Rails is enough to displace Rails."

However, he's off by a bit. It's going to take another framework to not just be "simply better". This framework will need to be an order of magnitude better to get me to switch from the amazingly productive Rails ecosystem. The framework/language marketplace is crowded and you are going to really need to standout to get any serious adoption to compete. For me, the cost of switching all new development projects to Hanami seems to out-weight the benefits (this also assumes Rails is the correct tool for the job of course, which it often isn't).

That said, a Rails/Hanami/Sinatra framework built on the Crystal language, which looks almost exactly like Ruby but gives you C performance, appears like it might be that order-of-magnitude to 100x game-changer that could get me to switch stacks. [0]

Whether you like him or not, Peter Thiel has some good thoughts when it comes to innovation and I think this argument perfectly encompasses this Rails/Hanami discussion:

"As a good rule of thumb, proprietary technology must be at least 10 times better than its closest substitute in some important dimension to lead to a real monopolistic advantage. Anything less than an order of magnitude better will probably be perceived as a marginal improvement and will be hard to sell, especially in an already crowded market. The clearest way to make a 10x improvement is to invent something completely new."[1]

[0] https://crystal-lang.org/ [1] Zero to One - http://amzn.to/2GaaMP0

1 comments

I expect to see rails slowly die off over the next decade, with many rails developers moving to either Elixir-based web framework Phoenix or something written in Crystal. There are a few web frameworks in Crystal, but none are fully complete yet. - http://kemalcr.com - http://luckyframework.org - http://amberframework.org
Swift will be more prevalent than Crystal. There are already some serious frameworks available and you get the additional bonus of being able to write Mac and iOS with the language as wel.
The server-side swift ecosystem is incredibly small, and that's by far the most important thing for adoption.

You're not really going to share backend source with your iOS apps, so there's nothing to really gain there. Languages are so homogenized these days that moving between the popular few is pretty simple and requires fairly minimal rampup.