gnustep-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CoreBase toll-free bridging


From: Luboš Doležel
Subject: Re: CoreBase toll-free bridging
Date: Fri, 15 Mar 2013 09:13:15 +0100
User-agent: Roundcube Webmail/0.5

On Fri, 15 Mar 2013 15:15:56 +0800, Maxthon Chan wrote:
I think I scored one on suggesting implementing CF in ObjC here. :)

Well, I have my doubts about this claim. Especially because of

"If you look at the Darwin sources, you'll see that the iPhone's CoreFoundation classes are actually implemented in ObjC."

No iOS CF sources have been made public, so you can't just "look at Darwin sources".

And it doesn't really make much sense to me. Why?

1) Why bother developing, testing and maintaining a separate CF implementation when you can use the one you already have? 2) There is nothing stopping them using ObjC-based CF even on OS X. Carbon apps don't need to know/care if there is any ObjC behind the scenes. Just because your app is plain C doesn't meen that the libraries cannot internally use ObjC.

There are very few iOS code available out there, so it is very
difficult to hack into that.

By the way, I do have an paid Apple iOS Developer account so maybe I
can verify something for you? Maybe check iPhone's CF framework's
symbol import?


If you can get me an ARM CoreFoundation binary, I can look into its code to see what it's doing. I wouldn't fully trust the imports alone.

--
Luboš Doležel




reply via email to

[Prev in Thread] Current Thread [Next in Thread]