Feeds

'Freakishly fast' Ruby coming to the Mac

Blowing up the bridge

Providing a secure and efficient Helpdesk

Mac developers intrigued by Ruby's ease of use and simple maintainability but deterred by its turgid performance will be happy to hear that MacRuby 0.5 - aka its "experimental branch" - is remarkably snappy.

Exactly how snappy is remarkably snappy? A suite of low-level benchmark tests recently performed by Antonio Cangiano of Zen and the Art of Programming shows MacRuby 0.5 to be on average just under three times as fast as Ruby 1.9.1, with some operations coming in at nearly eight times faster.

According to Cagiano: "MacRuby... has the potential to become a game changer - at least for Mac developers. Based on Ruby 1.9, MacRuby’s main aim is to provide programmers with the ability to write Mac OS X applications in Ruby, making Ruby a first-class Cocoa programming language."

The MacRuby open-source development project is sponsored by Apple, which includes an introduction to the language on its Developer Connection website. You can also download a free version of the most-recently qualified development version, MacRuby 0.4, from Apple's software vault.

MacRuby's raison d'être is to overcome the performance limitations of RubyCocoa, which functions as a speed-robbing intercommunication bridge between the Mac OS X Objective-C runtime component and the standard Ruby interpreter.

Simply put, the MacRuby project is working to create a Ruby implementation that sits directly on top of the Objective-C runtime, eliminating the RubyCocoa bridge.

Cagiano claimed that MacRuby 0.4 - which allows a developer to deliver an application in a standard Mac OS X .app package - is both stable and effective. However, he said that MacRuby’s real promise lies in MacRuby 0.5, which he called "freakishly fast."

It appears that Mac developers may soon have another full-fledged - and either remarkably snappy or freakishly fast - Cocoa-compliant development language with which to deliver desktop applications.

More information and up-to-date news on the MacRuby development effort can be found at MacRuby.org. ®

Secure remote control for conventional and virtual desktops

More from The Register

next story
Microsoft WINDOWS 10: Seven ATE Nine. Or Eight did really
Windows NEIN skipped, tech preview due out on Wednesday
Business is back, baby! Hasta la VISTA, Win 8... Oh, yeah, Windows 9
Forget touchscreen millennials, Microsoft goes for mouse crowd
Apple: SO sorry for the iOS 8.0.1 UPDATE BUNGLE HORROR
Apple kills 'upgrade'. Hey, Microsoft. You sure you want to be like these guys?
ARM gives Internet of Things a piece of its mind – the Cortex-M7
32-bit core packs some DSP for VIP IoT CPU LOL
Microsoft on the Threshold of a new name for Windows next week
Rebranded OS reportedly set to be flung open by Redmond
Lotus Notes inventor Ozzie invents app to talk to people on your phone
Imagine that. Startup floats with voice collab app for Win iPhone
'Google is NOT the gatekeeper to the web, as some claim'
Plus: 'Pretty sure iOS 8.0.2 will just turn the iPhone into a fax machine'
prev story

Whitepapers

Forging a new future with identity relationship management
Learn about ForgeRock's next generation IRM platform and how it is designed to empower CEOS's and enterprises to engage with consumers.
Storage capacity and performance optimization at Mizuno USA
Mizuno USA turn to Tegile storage technology to solve both their SAN and backup issues.
The next step in data security
With recent increased privacy concerns and computers becoming more powerful, the chance of hackers being able to crack smaller-sized RSA keys increases.
Security for virtualized datacentres
Legacy security solutions are inefficient due to the architectural differences between physical and virtual environments.
A strategic approach to identity relationship management
ForgeRock commissioned Forrester to evaluate companies’ IAM practices and requirements when it comes to customer-facing scenarios versus employee-facing ones.