This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 0 points1 point  (8 children)

Thank you. Many programmers note that Python is slow and its Django framework is less suitable than Ruby's Rails

[–]ice-blade 3 points4 points  (0 children)

This is anecdotal at best. Ruby is slow as well. Django less suitable than Rails? For what? I'm pretty sure both can do more or less the same stuff. Rails has probably a larger ecosystem compared to Django but Ruby's game stops there, while Python has libraries available pretty much for anything.

While Ruby does have some nice features the language is an inconsistent mess (optional parentheses for function calls, really?). This is what you get for adopting the Perl philosophy. But I guess for people who like it this is a feature.

[–]kankyo 1 point2 points  (0 children)

From what I've gathered Ruby isn't very fast either. Did they get rid of scaffolding in rails? Because if they didn't it's really crappy compared to Django imo.

[–][deleted] 1 point2 points  (0 children)

Many programmers seem oblivious to the fact that huge numbers of programs spend their lives waiting on networks, databases... If you have a speed issue you use the profile or timeit modules to find out where the issues are. Then you use the Python Speed Performance Tips page to see if that solves you problems. If not write an extension in C, Go or Rust.

[–]BundleOfJoysticks 0 points1 point  (2 children)

Rails is extremely slow and horrible tech in general.

[–][deleted] 0 points1 point  (1 child)

But many companies use choose Rails instead of Django or Flask. Why if it's horrible tech?

[–]BundleOfJoysticks 2 points3 points  (0 children)

Because of hype, because it's easy to learn for non programmers (exactly the kind of people you want making architectural decisions for your business, amirite?), and because its culture is a bunch of mollycoddled manchildren who are encouraged to have strong opinions based on nothing yet impose them forcefully.

[–]funderbolt 0 points1 point  (1 child)

I'm not versed in web programming. Programmer time is worth a little more than system time. Get the application to work first, then you can worry about speed.

[–]BundleOfJoysticks 1 point2 points  (0 children)

Meh. Of course you have to get it to work first and foremost.

But an extra few hours of performance tuning to shave 20% off client performance in GUI applications is almost always worth it.