LeopardのRubyサポート

実はあんまり理解していない、というか調べてもいなかったので、「300の新機能」から抜き出してみた。

Scripting BridgeがObjective Cに対応
新しいScripting Bridgeアーキテクチャでは、RubyPython、Objective Cなどの言語を使って、AppleScript対応アプリケーションの照会と制御ができます。


DTrace
Darwinカーネルに組み込まれたDTraceを使って、あらゆるアプリケーションを完全に監視できます。JavaRubyPythonPerlもDTraceをサポートするために拡張されており、それぞれの言語のパフォーマンス特性の情報に簡単にアクセスできるようになりました。


Cocoaブリッジ
Objective-Cブリッジ、そしてXcodeとInterface Builderの完全サポートのおかげで、RubyPythonCocoaアプリケーション構築のためのファーストクラス言語として利用できます。


スクリプティングブリッジ
Objective-CRubyPythonプログラムを利用して、Macアプリケーションを最適化できます。新しいスクリプティングブリッジが、 AppleScriptに似た簡潔な構文を使って、AppleEventsの生成を簡単にします。


Ruby on Rails
仕事をするなら最高の環境で。RailsMongrelCapistranoが組み込まれたLeopardは、Ruby on Rails開発に理想的なプラットフォームです。

うーむ。よくわからん。こういうときは原文をあたってみるが吉とみた。

Scripting Bridge for Objective-C
Query and control applications with integrated AppleScript support using other languages such as Ruby, Python, and Objective-C -- thanks to the new Scripting Bridge architecture.

AppleScriptが使えるアプリだったら、別の言語から情報を取り出したり、制御したりできるよー。てことかな。AppleScriptがサッパリわかってないのでそのうち調べるとしよう。

DTrace
Monitor virtually any aspect of your application with DTrace, integrated into the Darwin kernel. Ruby, Python, and Perl have also been extended to support DTrace, providing unprecedented access for monitoring the performance characteristics of those languages.

カーネルから詳細にパフォーマンス情報を得られるようになったってことかしら。DTraceってなに。チューニングが必要なものを作ることは少なそうだからスルーの方向で。

追記:DTraceってのはSolarisの機能(ツール?)らしい。参考:【特集】Mac OS X Leopardの開発環境 (8) その他の開発ツール | エンタープライズ | マイコミジャーナル

Cocoa Bridges
Use Ruby and Python as first-class languages for building Cocoa applications, thanks to Objective-C bridges as well as full Xcode and Interface Builder support.

RubyCocoaバンザイ。でもなかなかCocoaアプリ書ける状況にならないんだよなあ。まあ気長に。

Scripting Bridge
Use Objective-C, Ruby, and Python programs to automate Mac applications. The new Scripting Bridge enables them to easily generate AppleEvents using a concise, AppleScript-like syntax.

アプリの制御にAppleEventsも使えるってことかしら。Objective-Cのイベントがそのまんまつかえるとしたら強力だなあ。これもあとで調べよう。

Ruby on Rails
Work in a developer's dreamland. Leopard is the perfect platform for Ruby on Rails development, with Rails, Mongrel, and Capistrano built in.

これはまあ、まんまってことで。