Replies: 1 comment
-
We are open to the idea of providing a C API, and we think such API can be generated from the COM API programmatically. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I was checking out the "Compilation API" and "Reflection API" pages and immediately noticed the "COM-lite design" statement and the C++ examples. Is there or will there be a C API for compilation and reflection uses?
Graphics and game programmers on Linuxes can easily feel spoiled (despite occasional botched GPU driver updates) in the way major pertinent dependencies such as SDL, imgui, assimp, glslang, various Vulkan dev stuff etc are, in many distros, just readily-installable system packages that you can most conveniently just-
#include
and trivially link. Whether those are C or C++ or mixed codebases, they do sport a C API (whether exclusively or additionally) on principle. This opens such APIs up to all languages with basic FFI mechanisms, and of course to the "no ++" pure-C crowd itself too.I'd vote to see a Khronos-hosted project like Slang join glslang in this tradition of offering up open access (from all sorts of stacks via C ABI & API), rather than further cementing "C++ only" as the compulsory single lingua franca for gfx dev and game dev. =)
Beta Was this translation helpful? Give feedback.
All reactions