• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Cocoa and other languages, was: .Mac support to C/C++ application
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cocoa and other languages, was: .Mac support to C/C++ application


  • Subject: Re: Cocoa and other languages, was: .Mac support to C/C++ application
  • From: Sherm Pendley <email@hidden>
  • Date: Tue, 25 Apr 2006 15:00:06 -0400

On Apr 25, 2006, at 12:30 PM, Scott Ribe wrote:

I haven't gone there yet, but I have thought about using one of the
scripting languages to implement admin functions and using Cocoa bindings to
put the user interfaces on them. So, just curious, has anyone here used any
of these bindings? Java doesn't count; it's not really "higher- level" than
Objective-C (except maybe for auto garbage collection); I'm talking about
the real scripting languages.

Yes, I've used CamelBones in Real Apps. Avoiding the compile-link cycle - script files are simply copied into Resources/ - makes for a fast, efficient RAD environment.


Of all the code, the only class that needed to be re-implemented in Objective-C was a custom NSView subclass. It had a large number of subviews that it adjusted for resize events, and a custom -drawRect: as well. On my old G4, window resizing was noticably choppy with that view class written in Perl, but smooth with a 1:1 translation of that class into Objective-C.

I haven't used the Python, Ruby, or other bridges, but I'd expect similar results. Overall I'm very productive using a hybrid approach of using high-level scripting where I can and low-level components when I need to.

sherm--

Cocoa programming in Perl: http://camelbones.sourceforge.net
Hire me! My resume: http://www.dot-app.org

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Cocoa and other languages, was: .Mac support to C/C++ application (From: Scott Ribe <email@hidden>)

  • Prev by Date: [Moderator] EOT Re: appicationDidFinishLaunching?
  • Next by Date: Calling `update_prebinding' programmatically
  • Previous by thread: Re: Cocoa and other languages, was: .Mac support to C/C++ application
  • Next by thread: Re: Cocoa and other languages, was: .Mac support to C/C++ application
  • Index(es):
    • Date
    • Thread