by antics · 15y ago · 0 comments
Good news is, you can make (e.g.) a C-hook, that lets you write you app in Ruby, and your "search" code in C (or something like that). I don't know what you're doing specifically, so that may be an answer. I will say that if you're interfacing heavily with the database in this search, it is very likely that Rails is not the answer -- Rails tries to handle DB work transparently to the user, and going against that problem is not just hard, but also REALLY labor intensive. I'm told this is why twitter dropped Rails.
As far as speed goes, Ruby is about as fast as PHP at this point, although rails runs a bit slower.
Hope that helps! Feel free to ask follow-up questions.
No comments yet.