4 ms·
can someone explain why python has more scientific projects than ruby for example... why is it considered as better for that type of work?
by g3orge 14y ago
can someone explain why python has more scientific projects than ruby for example... why is it considered as better for that type of work?
- xaa 14y agoPython is significantly faster than Ruby, and the gap grows when you consider pypy. Also, simple historical reasons -- Python was first to the scene (if you exclude Perl), so it has more scientific libraries. Ruby seems to be preferred in domains like sysadmin and web apps where there is little emphasis on performance, so performant libraries don't (generally) get developed in Ruby.
- ajdecon 14y ago> Also, simple historical reasons -- Python was first to the scene (if you exclude Perl), so it has more scientific libraries. Don't exclude Perl! :-) In certain scientific subdomains, Perl is still widely used, also for historical reasons...
- 3pt14159 14y agoScipy and Numpy blow anything Ruby has completely out of the water.
- blakeweb 14y agoAgreed, although just wanted to mention SciRuby for rubyists jealous of scipy and numpy. It's in development (led by a good friend of mine) and contributions are welcomed. http://sciruby.com http://sciruby.com
- jonknee 14y agoIt's been around a while, has an easy to follow syntax and has excellent libraries for science (SciPy, NumPy, matplotlib, etc).