Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > Perl to Cocoa?

Perl to Cocoa?
Thread Tools
Fresh-Faced Recruit
Join Date: Nov 2001
Location: Waterloo, IA
Status: Offline
Reply With Quote
Nov 9, 2001, 09:13 PM
 
I'm a SysAdmin and use PERL on an almost daily basis, I've done some really advanced things in PERL, from writing modules to coming within a hair of writing PERL Objects and procedural exception handlers. My question is this: Is Cocoa for me? Most of the things that I want to do/create on OS X are networking related, an app to automate ARIN lookups, an IMAP client with built in Address Book, Calendar (yes Entorage/Evolution I can't afford Entorage I have found the Omni frameworks, but it all seems terribly clunky to me, I'm spoiled on all the PERL modules available out there.

Add to this the fact that all of this eyecandy is a bit new and strange to me, it's been 10 years since I dabbled in Delphi, (1.0!).

Can't someone just write a PERL module to Cocoa? Like Tk for Unix?
     
Senior User
Join Date: Feb 2001
Location: Rochester, uk
Status: Offline
Reply With Quote
Nov 12, 2001, 06:04 AM
 
Last I heard, Apple did have a working Perl-Cocoa bridge, where NSObjects just showed up as if they were Perl objects. But they haven't gotten round to releasing it or acknowledging its existence to the outside world yet.

Maybe they will in 10.2 ... Maybe they won't ... And maybe us talking about it and pestering them will make the difference.
All words are lies. Including these ones.
     
Mac Elite
Join Date: Oct 1999
Location: San Jose, Ca
Status: Offline
Reply With Quote
Nov 16, 2001, 04:16 PM
 
As both a Perl Monger and a WebObjects/Cocoa Developer I can say that they are different environments, each with their own strengths. I wish that Apple would get a RegularExpression module built strait into the NS environment like it is in Perl, but I wish that Perl's object orientation was even half of that either in Java or Obj-C.

If you are building regular apps, then Cocoa (I generally use Java) rocks, and Perl is no-where in sight (especially in the GUI and threading departments). If you are building CGI's without the WebObjects frameworks (or without a datatbase) then Perl wins. Perl also wins when it comes to writing run-once report generators.

Short Answer: Both Perl and Cocoa have their areas, and it depends on what you are doing. I can see the idea of having a Perl bridge being nice, but there are so many places where I can see it being a nasty mess (trying to figure out where to map scalar verses list context, etc...).
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 09:51 AM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2