This is, incidentally, how the servo bindings to core-foundation work (I prefer those bindings where there is overlap).
Servo bindings: https://github.com/servo/core-foundation-rs
Other crates of interest on this topic: - https://crates.io/crates/objc - https://crates.io/crates/block
Writing by hand isn't the same.
The point is: you can't leak, you can't end up keeping a reference without incrementing the refcount and you don't events have to worry about any of the refcounting as long as the code you write is sound according to Rust rules.
We are speaking about the normal development experience, not corner cases or unsafe code.
Automatic Reference Counting.
Since = is the same as .clone() in character count?
> Since = is the same as .clone() in character count?
Why does character count matter? I think you're getting a bit distracted from the point.
Will you need to manually free/release objects? No you will not.
Nope, retain on create/etc and release on drop happens automatically.