▲ | ryao 14 days ago | |||||||
I want to write C code, not C++ code. Even if I try to write C style C++, it is more verbose and less readable, because of various C++isms. For example, having to specify extern “C” to get sane ABI names for the Nvidia CUDA driver API: https://docs.nvidia.com/cuda/cuda-driver-api/index.html Not to mention that C++ does not support neat features like variable sized arrays on the stack. | ||||||||
▲ | pjmlp 13 days ago | parent [-] | |||||||
A neat feature that is so neat Google paid to get it irradicated from Linux kernel, and became optional after C11. | ||||||||
|