Hacker News new | ask | show | jobs
by ryao 438 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.

1 comments

A neat feature that is so neat Google paid to get it irradicated from Linux kernel, and became optional after C11.
I think you replied to the wrong person.