Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Mac > Perl on OSX > Re: CamelBones:...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 5 of 8 Topic 1024 of 1075
Post > Topic >>

Re: CamelBones: Maintainer needed

by tom@[EMAIL PROTECTED] (Tom Yarrish) Dec 14, 2007 at 11:05 AM

----- "Sherm Pendley" <sherm.pendley@[EMAIL PROTECTED]
> wrote:
> On Dec 14, 2007 11:07 AM, Tom Yarrish <tom@[EMAIL PROTECTED]
> wrote:


> Oddly, there's not a whole lot of actual Perl code in it, although
> what's
> there is kind of obscure. Autoload is used to catch method calls that
> aren't
> implemented in Perl, and send them across the bridge, tied arrays and
> hashes
> to implement the Perl side of "toll free" bridging, and attributes are
> used
> to declare method signatures.
> 
> Of course, there's a good amount of XS programming involved. You'd
> need to
> know your way around the perlembed, perlguts, and perlapi docs.
> 
> And you'd definitely need to know your way around Cocoa, and the
> Objective-C
> runtime functions. Perl cl***** are registered with the ObjC runtime,
> and
> participate directly in the inheritance hierarchy; the key difference
> with
> such cl***** is that their selectors all share the same IMP (aka
> implementation function), which uses Perl's internal API (i.e.
> perldoc
> perlapi) to reflect the call to Perl. The ObjC runtime is also used to
> get a
> list of registered cl***** at startup, after which libperl functions
> are
> used to create all the packages and @[EMAIL PROTECTED]
 arrays that are needed for
> the
> autoloading to work when Cocoa methods are called from Perl.
> 
> On the Cocoa side, there are NSArray and NSDictionary subcl*****
> whose
> primitive functions use libperl functions to access Perl's arrays and
> hashes, respectively. To deal with that, you'd need to understand how
> Cocoa's class clusters work, and how to add a new concrete subclass to
> them.
> 
> sherm--

Why not put a post up on use.perl.org or Perlbuzz?  There are plenty of
Perl people out there that use/have experience with Macs.

Tom

-- 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)

iD8DBQFHXgrFZWzkfeDiTw4RAozoAKCMRphwyM/wT9AbB+PMX68FUN8nEgCfX7Nu
n7B9YcXwARSuuLdfbmznm/k=
=5/ey
-----END PGP SIGNATURE-----
 




 8 Posts in Topic:
CamelBones: Maintainer needed
sherm.pendley@[EMAIL PROT  2007-12-14 10:52:43 
Re: CamelBones: Maintainer needed
tom@[EMAIL PROTECTED] (T  2007-12-14 10:07:00 
RE: CamelBones: Maintainer needed
jeremiah.foster@[EMAIL PR  2007-12-14 18:02:08 
Re: CamelBones: Maintainer needed
sherm.pendley@[EMAIL PROT  2007-12-14 11:56:52 
Re: CamelBones: Maintainer needed
tom@[EMAIL PROTECTED] (T  2007-12-14 11:05:24 
RE: CamelBones: Maintainer needed
jeremiah.foster@[EMAIL PR  2007-12-14 17:52:40 
Re: CamelBones: Maintainer needed
sherm.pendley@[EMAIL PROT  2007-12-15 00:37:18 
Re: CamelBones: Maintainer needed
joel_rees@[EMAIL PROTECTE  2007-12-15 21:41:13 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sun Oct 12 22:18:45 CDT 2008.