Hacker News new | ask | show | jobs
by untothebreach 4861 days ago
I would say you are right except in one case, which is scientific computing. The OP touched on it, but that is definitely the "killer app" of the Python ecosystem, IMHO. Not that the languages you mentioned don't have equivalents, but if you are a rubyist who just wants to do some heavy-duty scientific/data-intensive computing without stepping too far out of your comfort zone, I can see Python being an attractive option.
2 comments

I am in the exact same situation. I know Ruby, as my first language, but keep running into scientific applications where Python or R is used. The languages are so similar, it is pretty easy to move between the two at a superficial level, but does take away some bandwidth trying to stay current in them both. It seems that if you are going to do web based work, Ruby is a good choice, but it you are going to be actively involved in non-weby stuff, Python is a better choice. I say this as a dedicated Ruby guy, who would rather stay with it, but am being pushed into more and more Python....
I know nothing about scientific computing, but I am sure you took a look at this,right? http://sciruby.com/ It goes like: " Ruby has for some time had no equivalent to the beautifully constructed NumPy, SciPy, and matplotlib libraries for Python. We believe that the time for a Ruby science and visualization package has come..." But status is pre-alpha, last commit 7 months ago... so dunno how much it can help...
I don't know much about that project, other than the fact that it isn't mature yet. In my comments above, I didn't mean that Ruby _didn't_ have any libraries focused on scientific computing, just that they didn't have the community and tools for scientific computing that Python has.
I would say you are right except in one case

I would add GIS as a second (if somewhat niche) case. The two big commercial players in the field (ESRI and Safe) as well as most of the open source players all have Python as a scripting language

Interesting! I don't really have _any_ experience with that field, so I definitely would not have guessed that Python was so prevalent. Thanks!
This influence/importance can also be seen in the existence of GeoDjango, which is shipped with Django itself[0], where Ruby seems to have the old GeoRuby[1], the rather recent (and with unsure following) RGeo[2] or doing raw PostGIS.

Also in OpenGEO, looking at their projects, aside from PostGIS it's either Python (and JS) or Java (and JS)

[0] https://docs.djangoproject.com/en/dev/ref/contrib/gis/

[1] http://rubyforge.org/projects/georuby/

[2] http://dazuma.github.com/rgeo/