News for hackers. Stuff that matters.

dmitryskiba

Re:More Rust compared to C++ on Monday April 06, 2015 @04:02PM (#9330372)
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.
I'm working on bringing ART to OSX, see https://github.com/DmitrySkiba/ARTPart
Re:Interoperating Between Objective-C and Rust on Sunday November 30, 2014 @12:25AM (#8676068)
There is Foundation implementation based on CoreFoundation: https://github.com/apportable/Foundation
Re:Interoperating Between Objective-C and Rust on Sunday November 30, 2014 @12:20AM (#8676062)
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.