News for hackers. Stuff that matters.
Re:CppCon 2018: Simplicity: Not Just For Beginners [video] by vvanders on Friday September 28, 2018 @03:56PM (#18096525)
Yeah, +1 to all of that.

I spent maybe ~15 years writing C++ over hobby + career timespan. Was a huge proponent of the language but spent the last 2-3 years over in Java land while doing all my greenfield work in Rust.

Came back to another lower level project written in C++/0x14 lately and it's a bit of a shock how my things I 'forgot' even on a modern codebase. Things like implicit constructor conversions, the fact that the type inference is pretty weak still(why can't I just construct unique_ptr w/out the type when I pass it direct[1]). Headers and package management is a total mess.

At this point unless I've got a hard constraint(like QNX or other yet supported platforms) I'm going to reach for Rust just about every time.

[1] Yes I know make_unique() is a thing but it's a C++/0x17 and just patches one part of type inference issues.

Re:CppCon 2018: Simplicity: Not Just For Beginners [video] by berti on Saturday September 29, 2018 @09:21AM (#18100168)