2 ms·
You can write C++ code in C, it will still compile the same way. Anything that is "written in C++" can also simply be written in C. One of the most interesting
by cjtrowbridge 4y ago
You can write C++ code in C, it will still compile the same way. Anything that is "written in C++" can also simply be written in C.
One of the most interesting cases I've seen is artists that work with addressable LEDs writing microcontroller code in pure C. Lots of super interesting pieces in SF that are done this way. Also some of them design pieces that communicate with each other across art installations to react to the audience together, etc. C is great for controlling physical art pieces.
Outside of embedded systems and kernel maintaining, there aren't many modern use-cases for C and some go so far as to argue that C is no longer really a programming language.