Re: Harnessing Perl Scripts within a Project

2012-11-06 Thread Mark Aufflick
In fact it is very possible to effectively bridge Perl and Cocoa objects since Perl embeds very nicely in multi-threaded C based parents. Apple provides (provided?) a fairly good bridge but it has some leaks & isn't well maintained. There is also CamelBones as mentioned. I wrote my own that has ful

Re: Harnessing Perl Scripts within a Project

2012-11-06 Thread Jens Alfke
On Nov 6, 2012, at 4:03 PM, Andres Kievsky wrote: > I'm curious - isn't the fact that none of those languages support true > multithreading a rather big hindrance when programming a Cocoa Application? > How would you put together a responsive application without it? Threading isn’t mandatory.

Re: Harnessing Perl Scripts within a Project

2012-11-06 Thread Eric Wing
On 11/6/12, John Delacour wrote: > On 06/11/2012 00:47, Jens Alfke wrote: > >> One compromise you might consider is using Ruby, which has pretty >> decent integration with Cocoa. (Ditto for Python, but Ruby is more >> Perl-esque.) It’s possible to write Cocoa apps entirely in those >> languages. >

Re: Harnessing Perl Scripts within a Project

2012-11-06 Thread Andres Kievsky
On 07/11/2012, at 10:45 AM, John Delacour wrote: > On 06/11/2012 00:47, Jens Alfke wrote: > >> One compromise you might consider is using Ruby, which has pretty >> decent integration with Cocoa. (Ditto for Python, but Ruby is more >> Perl-esque.) It’s possible to write Cocoa apps entirely in t

Re: Harnessing Perl Scripts within a Project

2012-11-06 Thread John Delacour
On 06/11/2012 00:47, Jens Alfke wrote: One compromise you might consider is using Ruby, which has pretty decent integration with Cocoa. (Ditto for Python, but Ruby is more Perl-esque.) It’s possible to write Cocoa apps entirely in those languages. Thank you. The Ruby option does look rather

Re: Harnessing Perl Scripts within a Project

2012-11-05 Thread Jens Alfke
On Nov 5, 2012, at 2:59 PM, John Delacour wrote: > I am interested in your comment that “this isn't usually a productive thing > to do”, because I very soon have to decide whether to devote all my time to > getting to grips with ObjC or continue dreaming that I can do most of the > work in Pe

Re: Harnessing Perl Scripts within a Project

2012-11-05 Thread Wim Lewis
On 5 Nov 2012, at 2:59 PM, John Delacour wrote: > [] hearing all the whoops and applause as the most elementary new things > were unveiled and it was announced that a dictionary object could now finally > be built in something approaching the sane way it would be done in ancient > languages

Re: Harnessing Perl Scripts within a Project

2012-11-05 Thread John Delacour
On 05/11/2012 20:44, Fritz Anderson wrote: On 4 Nov 2012, at 3:03 AM, John Delacour wrote: ... While I am getting up to speed with Obj-C I would like to be able to include Perl routines within projects... So long as you understand that this isn't usually a productive thing to do. It may

Re: Harnessing Perl Scripts within a Project

2012-11-05 Thread Fritz Anderson
On 4 Nov 2012, at 3:03 AM, John Delacour wrote: > I am a rank beginner in Xcode and Objective-C, very slowly getting to grips > with things using Xcode 4.5.1 in 10.8. My only significant experience is > with AppleScript and Perl and, so far as AppleScript is concerned, it looks > to me as tho

Re: Harnessing Perl Scripts within a Project

2012-11-05 Thread Wim Lewis
On 4 Nov 2012, at 1:03 AM, John Delacour wrote: > Perl is another matter altogether. While I am getting up to speed with Obj-C > I would like to be able to include Perl routines within projects, and I can > find very little on the WWW to be guided by. So far I have experimented > simply with

Harnessing Perl Scripts within a Project

2012-11-05 Thread John Delacour
I am a rank beginner in Xcode and Objective-C, very slowly getting to grips with things using Xcode 4.5.1 in 10.8. My only significant experience is with AppleScript and Perl and, so far as AppleScript is concerned, it looks to me as though I’d be wiser to set it aside and work in straight C