wr
hn
Top
New
Best
Ask
Show
Jobs
Back
d
dmitryskiba
Joined 13 years ago
Karma
5
Submissions
4
Member since
Jul 16
View on Hacker News
Recent submissions
Comment · 11 years ago
Are there examples where borrow checker stands on your way? Like the mentioned (in comments) way of building a tree. I'm sure there should be really weird edge cases.
Comment · 11 years ago
I'm working on bringing ART to OSX, see
https://github.com/DmitrySkiba/ARTPart
Comment · 12 years ago
There is Foundation implementation based on CoreFoundation:
https://github.com/apportable/Foundation
Comment · 12 years ago
Strictly speaking, [string UTF8String] is equivalent to '((const char <star>(<star>)(id, SEL))objc_msgSend)(string, selector)'. Since objc_msgSend is vararg function, it will promote it's arguments, so for example method taking float will be called with double. Casting to a proper function type works around that.