logoalt Hacker News

larussolast Sunday at 8:05 AM1 replyview on HN

The fun part is that now you need to bind against swift and objective-c for success on Apple systems. They no longer provide obj-c frameworks for all the new things. So you have to double hop and deal with both or deal with it on a framework by framework level. Talking from a Unity background here where the interop with obj-c is kinda smooth due to the c# -> c marshaling. But swift needs a bit more work.


Replies

pjmlplast Sunday at 8:25 AM

With a caveat, Metal is written in a mix of Objective-C and C++, with Swift bindings.

Thus you can do anything Metal with Objective-C and zero Swift.

Also, writing drivers, even in userspace is still mostly C++.

Going on a tangent, even if Swift isn't everywhere still, I would like that Microsoft would be half as serious as Apple, regarding .NET use on Windows, however they aren't even serious with C++.