Re:Why did we choose Rust to develop TiKV?
by usrusr on Wednesday September 27, 2017 @10:39AM
(#15348200)
I think you misread a terribly misreadable statement: what he meant wans't that C and Java look the same, he meant that any two C codebases will share a lot of similarity, any two Java codebases will share a lot of similarity and so on. C++ on the other hand can be anything from "C with objects" to deep template metaprogramming to "has there even been a C++ before 2011?" styles, which are as dissimilar from each other as you can get without crossing language borders.
[ Parent
| on HN ]
Re:Why did we choose Rust to develop TiKV?
by blub on Wednesday September 27, 2017 @02:23PM
(#15350733)
No, there's OO C, low-level C, GLib C, etc. There's Android Java, Enterprise Java, Standard Java. Any language catering to different customers will have various styles.
There are two big C++ coding styles: C with classes, an old style which has little use nowadays and modern C++, the recommended way, used in new projects. Asking "what is the idiomatic style in C++?" must be a rhetorical question, because it's obviously modern C++, the leaders of the C++ community have made this clear repeatedly. Template metaprogramming is a technique, not a programming style.
OP should do more hacking without fear and less spreading FUD.