DEV Community

Cover image for Rails gets out of the way when you need that most.

Rails gets out of the way when you need that most.

Ben Halpern on December 10, 2020

It's underrated how tough it can be to get a new thing off the ground, and how delicate that phase is. // Detect dark theme var iframe = do...
Collapse
 
ericchapman profile image
Eric The Coder

I run a small business that hope to be big one day. We choose Rails for the development speed. The competition is so strong and we need something to start fast and right. Rails is just that. We dont care that in 5 years we will have reach the point that we have so many transactions that we need a rewrite in another tech. If we dont deliver now, we would not be there in 5 years anyway!

Collapse
 
linuxander profile image
Linuxander

Rails 6 evolved much from Rails 2, so who knows what will happen in 5 years... Anyway, Rails is not known as fast framework, but it can handle everything if you design application in that way... So in future you will rewrite that code and use it with some other technologies maybe, and that's it. I am big fan of Ruby (and RoR), and the only downside I found is that I must get dedicated server, not VPS like for PHP apps. But when you get quality server with high amount of RAM, business can be started really fast.

Collapse
 
bravemaster619 profile image
bravemaster619

Most servers are VPS nowadays. VPS does not have any problem with RoR. I think what you're meant to say is shared hosting. Shared hosting of WP.

Collapse
 
linuxander profile image
Linuxander

Yea my mistake, wanted to say shared server :)

Collapse
 
superails profile image
Yaroslav Shmarov

For me, the main advantage of RoR is SPEED OF DEVELOPMENT.

And here is the perfect indicator of success with Ruby on Rails:
spreecommerce.org/ruby-on-rails-mo...

Collapse
 
alex_takitani profile image
Alex Takitani

Maybe, there will come a day when what happened to javascript will happen for other script languages.

Or even, if we wait long enough, processors will evolve so much, the memory will be cheaper and all the constraints that we have now will be insignificant.

I remember the days when it was almost impossible to run java apps without destroying the PC. Now that are tons of java apps used daily and no one cares.

Collapse
 
codethug profile image
Nicolas Quijano

Alas, bad habits have made software bloat quote faster than Moore's law predicted hardware speed would double, which hasn't been true since multi cores became standard, we are not even close to a 50% return on parallelization using 2 cores, so.imagine with 16 ? You get a lot of idling thread, cache hits happen a lot more : try maintaining localization of data in gigabytes with hopefully each core running threads accessing the same cache lines....
Fastest era of computing was MacOS 7-8 on PPC 604e at 200 MHz with 1 gig of RAM and 8 PCI slots for a Voodoo1 8 megs and later a Voodoo3 16 megs for a triple display machine that from the day it finalized was only used for graphsims F/A 18 Hornet Korea Flight sim. That mac retailed at 5 grand Canadian with 64 megs of RAM but could run Win95 on Virtual PC 2 faster than a Pentium 166 (years before MS bought it, back when Bungie was a Mac games studio first)
For PCs it was the MS DOS 6.22 era on 486 DX2 or a the centurys turn running Linux and BeOS 5 on a cheap dual Celeron box with with GeForcs 2...
So I tend to code with a lot less RAM bloat, and eye candy must be both dynamically throttled to a minimal extent and user togglable. My Windows still look like win2k

Collapse
 
bravemaster619 profile image
bravemaster619

Ruby on Rails focus on DX (development experience) and I don't know any other language or framework that surpasses Rails in that matter. That's why I'm a big fan of RoR, yay you're on Rails!

Collapse
 
faraazahmad profile image
Syed Faraaz Ahmad

What are your thoughts on the phoenix framework? It's made in Elixir so it's super fast, but it has the MVC and "magic" of rails. Seems like best of both worlds to me. The only downsides I think are lack of a huge community like Rails and maybe even functional programming

Collapse
 
stojakovic99 profile image
Nikola Stojaković

Why is a functional programming a downside? It completely makes sense for the things you will use Elixir for.

Collapse
 
faraazahmad profile image
Syed Faraaz Ahmad

There's nothing wing with it. I meant coming from an OO language like Ruby is s big learning curve

Thread Thread
 
jvarness profile image
Jake Varness

Ruby uses OO paradigms though. Yes it has functional capabilities, but it can also be OO as well.

Collapse
 
leewynne profile image
Lee Wynne

Nice! Love to hear Forem is still a Rails lover.

JumpStart Pro from Chris over at gorails is just amazing. Takes the Rails getting started process to another level.

Collapse
 
chiubaca profile image
Alex Chiu

Such as the way in this industry what is old eventually becomes new again. I would not be surprised if rails becomes "cool" again in the not too distant future.

Collapse
 
bravemaster619 profile image
bravemaster619 • Edited

I love the idea, but Ruby needs to be faster before that.

Collapse
 
omawhite profile image
Omar White

Every time you talk about rails I want to try to learn it haha

Collapse
 
highcenburg profile image
Vicente G. Reyes

Same here! haha