4 ms·
Erm, not really. I have implemented a reasonably serious PBR renderer in Vulkan on Mac on top of MoltenVK, and the C API is not at all an obstacle. Swift/C in
by skohan 8y ago
Erm, not really. I have implemented a reasonably serious PBR renderer in Vulkan on Mac on top of MoltenVK, and the C API is not at all an obstacle. Swift/C interop is fairly straightforward, and Objective C is a superset of C so that is a total non-issue.
The ability to easily integrate the wealth of C libraries directly into your high-level code (as opposed to, say, the verbosity of implementing a JNI) is one of the strengths of Swift.
- pjmlp 8y agoC is an obstacle to safe and modern IT stacks.
- mrguyorama 8y agoWhy are you using graphics engines in your IT stack?
- pjmlp 8y agoI guess because I am not using a VT 100 terminal, rather a desktop computer using a GPU to provide a nice modern user experience. The biggest theme on Linux Security Summit 2018 was taming security exploits on Linux kernel due to C's lack of security. I count at least 10 talks about this subject. https://www.youtube.com/user/TheLinuxFoundation/videos https://www.youtube.com/user/TheLinuxFoundation/videos So apparently the review process, approvals and current static validation is still not enough.