5 ms·
website is kind of slow and some bugs..so i am wondering if refactoring or bugs fixing is worth it or switching to a new modern language.
by syed123 9y ago
website is kind of slow and some bugs..so i am wondering if refactoring or bugs fixing is worth it or switching to a new modern language.
- jstewartmobile 9y agoIf your problem is speed, Ruby & Python probably aren't going to help. Query optimizations typically yield a lot of bang for the buck. Once you've harvested all of the low-hanging fruit there, in-memory caching (memcached, redis) can also bring a lot to the table.
- odonnellryan 9y agoRuby and Python could help -- but depends what you're doing. They aren't going to magically make your DB queries faster... but certain libraries can perform many, many times faster. Though, that's the library, not the language.
- syed123 9y agoit also helps to find more programmers here in the bayarea if i switch to ruby, node etc all the cool programming dudes that i want to hire -are not in php.
- jstewartmobile 9y agoIf you were almost anywhere else, you'd have a much easier time finding .NET developers, but then there's the whole licensing can of worms (and .NET core isn't really a viable alternative at the moment).
- odonnellryan 9y agoNot many devs want to work on PHP codebases, that's absolutely correct. PHP does not really look great on the resume, unfortunately. But you should be hiring to solve a problem -- seemingly speed and reliability, in your case -- not for a language. But yeah, tell them what stack they will be working on ;)
- Can_Not 9y agoThose languages won't be faster, they're pretty much the same speed. The labor cost of the rewrite would completely dwarf any possible micro-gains from switching between 2 languages that are already nearly the same speed.
- odonnellryan 9y agoPHP can be faster than Python, but I'm not aware of anything existing in the PHP space like NumPy.
- Can_Not 9y agoIt doesn't sound like OP is working on something that needs NumPy, and if he did, I don't see why he couldn't write a small script in Python to be called by the existing codebase.
- odonnellryan 9y agoI completely agree!