Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Thanks for being pedantic, none of them is C.


Pedantically, none of them are C++ either.


In which language are DirectX examples and SDK written on?


While not being based on C DirectX actually has a C API, even for D3D12. For example to call device->CreateRootSignature(...) from C you call ID3D12Device_CreateRootSignature(device, ...).


Because COM can be called from C, yet no sane people do it, unless they are trying to make a point no matter what.


There’s no shame in simply admitting one was mistaken.


I am not mistaken.

DirectX is a COM API, and although some masochits can make use of it from C, 99% of the world does not, including the official SDK.

Metal is a mix of Objective-C and C++, with Swift bindings thanks Objective-C interop.

None of them are C based like Khronos darlings.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: