Re:Interoperating Between Objective-C and Rust
by cfrs on Saturday November 29, 2014 @09:17PM
(#8675735)
Foundation is actually open source http://www.opensource.apple.com/source/CF/CF-855.11/CFString...
[ Parent
| on HN ]
Re:Interoperating Between Objective-C and Rust
by gilgoomesh on Saturday November 29, 2014 @10:28PM
(#8675878)
That's CoreFoundation, not Foundation. CoreFoundation is plain C and relatively small in feature set. Foundation is Objective-C and much larger.
It's a lot easier to work with the Foundation Objective-C API. They both manipulate the same data structures (or nearly the same with zero-cost bridging) but Foundation is far less verbose and a little more dynamic (no need for manual buffer allocations and configuring callback structures).
Re:Interoperating Between Objective-C and Rust
by dmitryskiba on Sunday November 30, 2014 @12:25AM
(#8676068)
There is Foundation implementation based on CoreFoundation: https://github.com/apportable/Foundation