The Mac Observer

Ruby as a Replacement for AppleScript

March 19th, 2008 at 3:00 PM - News by John Martellaro

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.

  • Related Entries
  • Email This
  • Tweet This
  • John Martellaro on Twitter
Login. Need an account? Register here.



Auto-login on future visits

Show my name in the online users list

Forgot your password?


Commenting is not available in this section entry.
 

Recent Headlines - Updated November 22nd

Fri, 7:07 PM
Games - Soccer Sim Championship Manager 2010 Released for Mac
6:47 PM
Games - EA Publishes Original Monopoly for iPhone
6:15 PM
News - Original Apple I on Ebay for $50K, w/Letter from Steve Jobs
6:11 PM
Games - New iPhone Games: Secret of the Lost Cavern Ep 1, New DJ Nights, More
5:47 PM
Games - Star Trek D-A-C Game Headed to the Mac Next Month
4:57 PM
Product News - TidBITS Releases “Take Control of Syncing Data in Snow Leopard”
4:26 PM
John Martellaro's Blog - Particle Debris (week ending 11/20) Stationery Pads Go Poof
2:59 PM
Free on iTunes - Musée du Louvre, Art Lite, SketchBook Mobile X and More.
1:50 PM
Deal Brothers - Acer P215H bmid 21.5” Widescreen LCD Monitor:  $139.99
11:24 AM
TMO Appearances - Jeff Gamet Shares More Holiday Gift Ideas on MacJury
10:43 AM
Product News - Cocktail 4.5 for Leopard Adds QuickLook Cache Clearing
10:06 AM
News - Hack Enables Mac OS X 10.6.2 on Netbooks
 

The Mac Observer Reader Specials

  • Buy Stuff, Support TMO!
  • __________
  • Macworld Expo 2010 Hotel Deal
  • TMO on Twitter!

Apple Stock Quote

  • AAPL: $199.92. Change: -0.59.
  • (Prices delayed up to 20 minutes.)
  • Discuss in our Apple Finance Board

Hot Topics

TMO Express

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

Top Deals From DealBrothers.com

Recent Features