Ruby as a Replacement for AppleScript

· by · News

John Muchow has written a series of tutorials on how to replace AppleScript with Ruby. Some developer community members have chimed in, endorsing the general migration. The question was raised as to whether Apple may be grooming Ruby as an eventual AppleScript replacement.

In retrospect, CamelBones, the Perl-Cocoa bridge wasnit quite ready when Leopard was in final Beta, so it wasnit included. However, the package can still be installed from the CamelBones Website. Leopard does include the Python-Cocoa bridge, and Python is not significantly different than Perl as a pure scripting language. However, Ruby is a more modern scripting language that, in addition, is object oriented by design rather than having it added on -- and itis becomming very popular.

At RubyInside, Peter Cooper wrote, "With all of the developments going on between OS X and Ruby lately, I?m becoming convinced that Ruby could become the de-facto OS X scripting language of choice within the next few years. I?m a programmer, but I find AppleScript hideous enough to avoid it wherever possible, and I?m not the only one."

The recent discussions have drawn the attention of MacResearch.org where it was agreed that a good case is being made for making Ruby the favored scripting language in Mac OS X. While Perl and Python enthusiasts likely wonit agree, the perceived enthusiasm for Ruby by Apple by the developer community suggests that, as always, Apple will drive the Mac OS X scripting technology in directions it favors.

John Martellaro

John Martellaro

John Martellaro was born at an early age and began writing about computers soon after that. He is a former U.S. Air Force officer and has worked for NASA, White Sands Missile Range, Lockheed Martin Astronautics, the Oak Ridge National Laboratory and Apple. At Apple he worked as a Senior Marketing Manager, a Federal Account Executive and a High Performance Computing manager. His interests include skiing, chess, science fiction and astronomy. You can follow John on Twitter at twitter.com/jmartellaro.

Sign Up for the Newsletter

Enter a valid email address

Join the TMO Express Daily Newsletter to get the latest Mac headlines in your e-mail every weekday.

Adding to list…

No Comments

Add your comment

Commenting is not available in this channel entry.