Re:C99/C11 dynamic array that mimics C++'s std::vector
by fjrieiekd on Sunday January 08, 2017 @07:56AM
(#13349514)
Rust is getting there but still lacks type-level integers, and macros are waiting for macros 2.0. It would also be neat to have the ability to run any function at compile time, but I don't think that's in the cards.
Re:C99/C11 dynamic array that mimics C++'s std::vector
by pjmlp on Sunday January 08, 2017 @10:23AM
(#13350023)
True, but as someone that spends the majority of his programming time between Java and C#, with C++ only when required, I do miss their power.
Also it is way better with latest standard improvements.
On the other hand templates used as a metaprogramming tool fall behind any modern macro system.