Welcome to new C++ Links - most important and useful articles, podcasts and videos that happen between 19th and 25th of January 2019.

This week you will find a link to a ray-tracer, real-life examples of ranges, new useful features of Microsoft Visual Studio and many more!

  1. Tiny implementation of ray-tracing, it contains only 256 lines of C++ code… and it’s still readable!
    github.com/ssloy/tinyraytracer/wiki

  2. Marius Bancila presents a few interesting examples, how ranges may change our code. (BTW - Marius is the author of a great book - Modern C++ Programming Cookbook!)
    mariusbancila.ro/blog/2019/01/20/cpp-code-samples-before-and-after-ranges/

  3. Bartłomiej Filipek wrote another nice post about file size. This time he shows how modifying file permissions affects reading file size. Bartek also did measure how fast is getting file size with different methods:
    bfilipek.com/2019/01/filesizeadvantages.html

  4. New C++ Weekly - Jason presents how to use C++20 lambda as a custom comparator to std::set:
    youtube.com/watch?v=damrgf7GJac

  5. Article from Rainer Grimm - this time he presents how to use the type_traits library:
    modernescpp.com/index.php/c-core-guidelines-programming-at-compile-time-with-the-type-traits

  6. Guest post on fluentcpp - how aliasing the pointer type may affect readability:
    fluentcpp.com/2019/01/22/pitfalls-of-aliasing-a-pointer-in-modern-cpp/

  7. Ivan Čukić wrote an article how to write projection without ranges:
    cukic.co/2019/01/22/projections-without-ranges/
    This was a response to a blog post about projections in Ranges by Ryou Ezoe:
    Projection, a powerful feature in C++20 Ranges library

  8. Visual Studio Team added few really nice features to MSVS, including automatic addition to missing #include directives, experimental openmp simd, code analisis working in the background and much more:
    blogs.msdn.microsoft.com/vcblog/2019/01/24/c-productivity-improvements-in-visual-studio-2019-preview-2/

  9. Jonathan Boccara from fluentcpp tries to wrote method, that accepts only one type in a variadic template:
    fluentcpp.com/2019/01/25/variadic-number-function-parameters-type/

  10. New CppCast episode - interview with Christopher Di Bella, mostly about SG20 Education Study Group:
    cppcast.com/2019/01/chris-dibella/

Extra 1: New videos from Meeting C++ are available on their youtube channel:
youtube.com/user/MeetingCPP
They also have a great blogroll:
meetingcpp.com/blog/blogroll/

The links are brought to you by Wojciech Razik.
Wojtek is a Senior C++ developer at Thaumatec, currently writing software for a robot. He enjoys reading C++ Standard before bed, and he loves to hate JS from dawn to dusk.
If you know Polish, take a look at cpp-polska.pl where Wojtek is one of the co-authors.