3 ms·
> My final question about any tool is more personal: "Does it use C++?" because, if it does, then integrating with anything other than C++ is going to be a giga
by lelanthran 4y ago
> My final question about any tool is more personal: "Does it use C++?" because, if it does, then integrating with anything other than C++ is going to be a gigantic PITA. At this point there are plenty of fine alternatives to C++ that don't suck. If you don't have a clean, pleasant way of talking to things that only understand C library conventions, you fail and I'm moving on.
I think you've got that the wrong way around; if you can talk to things using the C library, you automatically get reusability from Java, C#, Python, various Lisps, Ruby, Rust (Go?), and almost every halfway popular language in existence.
What alternative do you know off that is more widely supported by all programming languages?
- ectopod 4y agoI think you are agreeing. C APIs are broadly useful. C++ APIs, not so much.
- lelanthran 4y agoYou are quite correct and I am confused why my comment was upvoted :-/ I'm in full agreement with the GP, I just misunderstood the text (that's all on me, he was very clear).
- bsder 4y agoC API != C++ API Vulkan development, for instance, drives me up a tree. Vulkan has probably the best C API I've probably ever seen. Vulkan support libraries like the Vulkan Memory Allocator all tend to be C++ because that's what GameDev tends to use. And they're an absolute nightmare to integrate with anything not C++. I mean, even the C++ guys eventually gave up. Look at the proliferation of "Header-only" C++ libraries because integrating with the C++ compiler and linker is simply too painful.