soeren says

Ruby/Python Cocoa bridge thoughts

February 14th, 2007

Jesper writes about 10.5 Leopard’s Cocoa bridges for Ruby and Python, and why they’re more useful than .NET’s similar support for many languages. In a nutshell, whereas in .NET, everything ultimately compiles to CIL, thus taking away any performance benefits one particular language may have had, Cocoa leaves your code in the very language it’s been written; there is no bytecode. In addition, while .NET’s CIL requirement ultimately means that all .NET languages try to be as C#-like in their features as possible, Cocoa languages such as Ruby can play out their own particular strengths.

I for one am still not sold, however, that Apple is giving up on the bytecode concept completely, especially with regard to Apple’s mysterious LLVM involvement. I can’t wait to hear more gossip on that one.

Posted in .NET & Mono, Chuckellania, Cocoa / Objective-C, Programming, Ruby

Share | 1 Comment

Others' Thoughts

# Jesper

A note: Apple using LLVM in the future doesn’t necessarily mean “bytecode or bust” for the new languages. LLVM currently works with GCC, and what’s compiled with GCC? Objective-C. Perl or Python or Ruby or what have you are all interpreted languages, or at least compiled on the fly.

Your Own Thoughts

I'd love to hear your input. Just try to stick to a few rules:

Before you comment for the first time (or, after you have deleted cookies), you will have to answer a little challenge to prove that you are not a spammer.

Comments are written in Markdown.

Leave the country the same, but correct the continent, and end the sentence with a period instead.