Ruby support

557
5
05-11-2012 11:46 PM
DwayneHenderson
New Contributor
Hello!

In my humble opinion, Ruby is way more beautiful than Python. Is there any chance ArcGIS will support it in the time to come?

Many thanks!
Tags (2)
0 Kudos
5 Replies
DanPatterson_Retired
MVP Emeritus
No.   An open debate, but since Python has been adopted by the open-source community as well means that  developers have a common thread between FOSS and commercial software...
0 Kudos
DwayneHenderson
New Contributor
No.   An open debate, but since Python has been adopted by the open-source community as well means that  developers have a common thread between FOSS and commercial software...


Could you please elaborate? I'm having trouble understanding what you mean.

0 Kudos
DwayneHenderson
New Contributor
No.   An open debate, but since Python has been adopted by the open-source community as well means that  developers have a common thread between FOSS and commercial software...


Could you please elaborate? I'm having trouble understanding what you mean.

0 Kudos
Luke_Pinner
MVP Regular Contributor
If you want to write geoprocessing scripts in Ruby, try the old GPDispatch syntax (note, I have no Ruby experience, I just googled this...):
require 'win32ole'
gp = WIN32OLE.new('esriGeoprocessing.GpDispatch.1')
0 Kudos
JasonScheirer
Occasional Contributor III
While Ruby is nice in a lot of ways, there is absolutely no plan of making Ruby an equal with Python in the ArcGIS stack. It would occupy the exact same space in the ArcGIS system, meaning there are two competing solutions to the exact same problem. We've put quite a bit of effort into improving the Python APIs over the last few versions to make them feel more native, and not just the old Dispatch way of handling things. To do so on Ruby as well would make scripting downright scizophrenic: making a clean Ruby API is a totally different set of motivating factors when compared to a Python API, so not only would arcpy and its Ruby equivalent be independent implementations and designs of one another, but knowing one would in no way imply that you could translate it to the other. And most importantly, Ruby lacks the interoperability and scientific computing backing that Python does: for instance, NumPy and the related buffer protocol for exchanging binary data do not have direct Ruby equivalents.
0 Kudos