Mac OS X Ruby/Objective-C Bridge Updated 35
phyxeld writes "RubyCocoa 0.4.0 is out. From the sf.net page: 'RubyCocoa is a Mac OS X framework that allows Cocoa programming in the Object-Oriented Scripting Language Ruby. RubyCocoa allows writing a Cocoa application in Ruby. It allows creating and using a Cocoa object in a Ruby script. In Cocoa application, mixture of program written by both Ruby and Objective-C is possible.' It's always nice to see more GPL software in the Mac OS X world."
Feeding the trolls. (Score:2)
Re:Programming and Mac users (Score:1)
What OS do you think is used by the many programmers who write the many 1000s of applications that "Mac users" use???
Re:Programming and Mac users (Score:1)
Actually, Mr. Bigot, I've heard that Mac's are over-represented in programming circles, as compared to Apple's overall market share. Makes sense since most PCs are bought to run games. And there's just something about a Titanium Powerbook running UNIX and also running productivity apps and games and also being having innovative combinations of technology such as Rendezvous+Airport+iChat, which geeks love.
Oh yeah, MacOS X also ships with a free CD containing full developer tools including a visual development environment, multiple scripting languages (perl, ruby, Applescript), C, C++, Objective-C, etc. And MacOS X is largely open sourced via Darwin. Sounds like a better programming environment than your average PC.
Re: (Score:2)
..this makes me dizzy.. (Score:3, Funny)
i may be tired but it was versed veerry confusing, something out of a bejeesus archaic journal v3.
happy new years eve, k-suicide on.
field day for the grammar nazi (Score:3, Informative)
Re:field day for the grammar nazi (Score:1, Informative)
Sourceforge isn't US-only site. And you can't expect that every non-native writes English fluently.
Maybe next time they will write the description in Japanese to get it perfect.
^rubic
Re:field day for the grammar nazi (Score:2)
Devon
Re:field day for the grammar nazi (Score:1)
RubyCocoa is a Framework of OS X, which enables you to write Cocoa programs with Ruby, an object-oriented scripting language. It is also possible to use RubyCocoa to generate objects, whose function you may call from Objective-C.
Below are some of my understandings about Ruby and RubyCocoa.
1. RubyCocoa has basically no relation to Mr. Matsumoto, originator of Ruby.
2. Ruby is a set of libraries, which are made from C. RubyCocoa is a set of libraries (frameworks), which are (may be) made from Objective-C.
3. Both Ruby and Objective-C have a lot of influence from Smalltalk, so the way of method call looks similar.
4. Even in Japan, Python may be more popular than Ruby in real business (it may be because of Zope).
speaking of Japan and Ruby (Score:4, Interesting)
The fact Ruby is popular over there seems to be an oft-quoted tidbit.
How common is this? Do programming languages vary that much in popularity from region to region? (O'Reilly's Ruby book [oreilly.co.jp] came out in Japan two years before the English-language Ruby in a Nutshell.)
If so, why do you think that's the case? That influential programmers/managers give a particular language the nod early on? That documentation is published early in a particular language? That (OK, this is stretching it) Japanese syntax shares commonalities with Ruby?
Re:speaking of Japan and Ruby (Score:1)
---
Re:speaking of Japan and Ruby (Score:2)
Devon
Re:speaking of Japan and Ruby (Score:1)
Incidentally, there are very few really good programmers. Must just be coincidence.
Re:speaking of Japan and Ruby (Score:1)
--
Mando
A bit redundant, i'nnit? (Score:3, Funny)
So, let me get this straight. You're saying I can (gasp!) write a Cocoa application in Ruby? Which is to say that I can write a Cocoa application in Ruby? Let me put this another way: I can write a Cocoa application in Ruby? So in other words, I can write a Cocoa application in Ruby? Wow, Cocoa apps written in Ruby, who would've thought. Did I mention that you can write Cocoa apps in Ruby?
Re:A bit redundant, i'nnit? (Score:2, Funny)
Re:A bit redundant, i'nnit? (Score:1)
AppleScript Studio (Score:4, Informative)
This RubyCocoa I've not used, but I bet it shims in and allows the same sort of thing.