News for hackers. Stuff that matters.
Re:Ranges, Code Quality, and the future of C++ by gumby on Wednesday December 26, 2018 @11:07PM (#18767224)
in early 2017 we started a project in c++17 (the compilers we cared about, g++ and clang++, by that time supported basically all of C++17 and everything in the library we needed except std::variant). It was a "start with an empty emacs buffer" project so we could start straight there.

The trick was to treat it as a brand new language that happened to have some resemblances to other languages some of us already knew (i.e. C, C++, etc). C++17 is actually a pretty expressive language and pretty fun to program in.

I recognize most people don't have this luxury. Interfacing to the small number of external packages we used involved making modern "cutout" connections to the legacy packages, which actually was worthwhile.

Re:Ranges, Code Quality, and the future of C++ by ncmncm on Thursday December 27, 2018 @12:59AM (#18767699)
Hi Gumby --

K. was just asking how your new project has gone.

Reading the post, I thought, "hey, that sounds like Gumby", and then looked at the byline.

I am running C++ on an Arduino now, and prepping to teach my son to run it on a Blyst Nano. He wants to make his own smart watch. He will end up doing a lot of very educational yak-shaving on the way.

Hope to see you again sometime soon.

N

Re:Ranges, Code Quality, and the future of C++ by gumby on Thursday December 27, 2018 @12:24PM (#18770893)
I’ll send you a note.