Better HN
topnewbestaskshowjobs
Log inSign up

dmitryskiba

5 karma · joined Jul 16, 2013 (13y ago) · 4 submissions

Submissions

comment 11y ago · link · parent

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 11y ago · link · parent

I'm working on bringing ART to OSX, see https://github.com/DmitrySkiba/ARTPart

comment 11y ago · link · parent

There is Foundation implementation based on CoreFoundation: https://github.com/apportable/Foundation

comment 11y ago · link · parent

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.