What things do Ruby or Rails not handle well? Are there any situations or cases that they're suboptimal for?

I'm trying to come up with things that Ruby (or Rails) either doesn't handle well, or things that are way too hard to do in Ruby.

So far I'm having a tough time, but I figured some people on here MUST have know some things that Ruby or Rails don't handle too well. Anyone?

Answers


There is nothing, it's simply perfect. ;-)

Ok, some downsides:

The stuff you'll most commonly hear about scaling issues is a myth. Unless you're making a second twitter perhaps.


Ruby is a language. Rails is a framework. Many of the things Rails isn't good at, such as anything not relating to a web framework, Ruby handles with ease.

The other question of what Ruby as a language is not good at is simple. Anything extremely performance intensive is probably better written in C. Ruby won't run natively on most smart phone devices so mobile apps are out. Ruby is not designed for embedded devices, so powering the next space shuttle launch is also a no go. Furthermore the lack of a maternal instinct make Ruby a bad choice to watch young infants.


There's very little you flat-out couldn't do in Ruby, but there's a few things you wouldn't want to do, mainly involving highly numerical computation. For most of those you could easily write a binding to a C-based API (or some other more performant library.) Image processing, for example, is something that would be dog slow for any non-trivial example in pure Ruby, but you can use RMagick to do it, which is a binding to the much-faster ImageMagick library.

Just about any other use for Ruby is fair game. I've written GUI apps with it, a lot of system services and more one-off scripts than I could count.


Need Your Help

How to use custom view inside recyclerview item?

android android-custom-view android-recyclerview

I'm trying to use ProgressWheel inside each item of RecyclerView.

Binding multidimensional knockoutjs observableArray

javascript data-binding multidimensional-array knockout.js

I have a JSON data. I converted it to ko.observableArray. My intension is to bind it to my View.

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.