Thursday, August 27, 2009

Development Tools and OpenGL in OS X 10.5 Leopard

Development Tools
OS X 10.5 Leopard comes with many open source development tools, includes:
  • Ruby and Ruby on Rails
  • Python
  • Perl
  • PHP
  • SQLite
While OS X 10.6 Snow Leopard is coming on Aug 28, 09, following is the installation paths and version info of the software:

Ruby and Ruby on Rails
  • Ruby v1.8.6 (runtime and library) - /System/Library/Frameworks/Ruby.framework. Ruby 1.8.6 is fully supported in Mac OS X Leopard including Ruby on Rails, Mongrel, Capistrano, and many other popular Ruby gems (packages). The latest version is v1.9.1.
  • RubyCocoa v0.13.1 - /System/Library/Frameworks/RubyCocoa.framework
  • MacRuby v0.4 (runtime and library) - /Library/Frameworks/MacRuby.framework. According to Apple, this is a version of Ruby 1.9, ported to run directly on top of Mac OS X core technologies such as the Objective-C common runtime and garbage collector, and the CoreFoundation framework. MacRuby now works with a multi-threaded garbage collector, fully supports 64-bit processors, provides DTrace probes, exposes an Objective-C API to control the runtime. The HotCocoa library was improved and now provides an API called HotCocoa::Graphics to access CoreGraphics and CoreImage.
  • BitNami RubyStack 1.5-1 (June 10, 09), is an installer that simplifies the installation of Ruby on Rails and its runtime dependencies. It includes ready-to-run versions of Ruby, Rails, MySQL and Subversion. Updated Ruby to 1.8.7-p160 (unix) and Ruby19 to 1.9.1-p129 (unix).
Python (/System/Library/Frameworks/Python.framework)
  • Python v2.5 (runtime and library) - /System/Library/Frameworks/Python.framework. The latest version is v3.1.1
Perl
  • Perl v5.8.8 built for darwin-thread-multi-2level - /usr/bin/perl. The latest version is v5.10
PHP
  • PHP v5.2.8 (cli) (built: Feb 6 2009), Zend Engine v2.2.0 - /usr/bin/php. The latest version v5.3.0
SQLite
  • SQLite3 v3.4.0 - /usr/bin/sqlte3. The latest version is v3.6.17.

OpenGL
Info and test results by OpenGL Extensions Viewer:

MacBook Pro5, 5
Renderer: NVIDIA GeForce 9400M OpenGL Engine
Vendor: NVIDIA Corporation

Memory: 256 MB

Version: 2.0 NVIDIA-1.5.48

Shading language version: 1.20


Core features and Test Results (1280 x 800 x 32 bpp, standard framebuffer - Benchmark)
v1.1 (100 % - 7/7) - 403 FPS

 v1.2 (100 % - 8/8)
 - 410 FPS
v1.3 (100 % - 9/9)
 - 336 FPS
v1.4 (100 % - 15/15) - 314 FPS
v1.5 (100 % - 3/3)
 - 317 FPS
v2.0 (100 % - 10/10)
 - 281 FPS
v2.1 (100 % - 3/3)
 - 100 FPS
v3.0 (48 % - 12/25)
 - null

v3.1 (14 % - 1/7)
 - null

OS X 10.5 system info:

AGL
Version: 3.0.9
Last Modified: 09/07/2009 2:30 PM
Get Info String: OpenGL Carbon compatibility dylib for Mac OS X
Location: /System/Library/Frameworks/AGL.framework

OpenGL
Version: 1.5.10
Last Modified: 09/07/2009 2:30 PM
Get Info String: OpenGL 1.5.10.7.0
Location: /System/Library/Frameworks/OpenGL.framework

OpenGL Driver Monitor
Version: 1.4
Last Modified: 09/07/2009 2:31 PM
Kind: Universal
Location: /Developer/Applications/Graphics Tools/OpenGL Driver Monitor.app

OpenGL Profiler
Version: 4.1
Last Modified: 09/07/2009 2:31 PM
Kind: Universal
Location: /Developer/Applications/Graphics Tools/OpenGL Profiler.app

OpenGL Shader Builder
Version: 2.0
Last Modified: 09/07/2009 2:31 PM
Kind: Universal
Location: /Developer/Applications/Graphics Tools/OpenGL Shader Builder.app