13 Mar
2008
13 Mar
'08
11:04 p.m.
For the next release, my objective is to re-implement String, Array and Hash using CoreFoundation. The idea is to have only one implementation for every primitive class, and therefore be able to pass primitive objects from Ruby to Objective-C without having to pay any cost.
Basically, String would disappear as a class, and would be an alias to NSString. The whole String interface would be re-implemented on top of NSString, using the CFString API. The same goes for Array and Hash.
As we’ve discussed offline, I’d still love to take a crack at this one. I do wonder what we’ll do with NSStrings, though, since they’re not actually mutable. So many issues. -Ben