top | item 25220024

(no title)

fizixer | 5 years ago

You missed one comparison: C infra (no C++).

(well strictly speaking, additionally you could also have hand-written assembly infra).

discuss

order

humanrebar|5 years ago

You can write C style code in C++ and still get access to features that are still interesting in the problem domain. constexpr functions, typesafe enums, static assertions, and destructors come to mind. No need to even touch a template or inheritance if you don't want to.

The main benefits of C per se are ABI stability and availability of compilers.