Skip to content
HomeVideosBooksBlogs
AllTop postsTopics
Podcasts
HistoryListsWatch laterLiked videosFollowing

The videos, books, blogs and podcasts Hacker News keeps recommending, all in one place.

VideosBooksBlogsPodcastsAboutPrivacySettings

Data from Hacker News, HackerTube, HackerBooks, HackerBlogs and Open Library. Credits · Not affiliated with Y Combinator.

HomeVideosBooksBlogsPodcasts
Ctrl K
    M

    Marius Bancila

    mariusbancila.ro · Personal blog · on HN since 2012

    Marius Bancila, a C++ developer, writes about modern C++ features such as ranges, std::format, east const and virtual inheritance.

    Visit blogRSSHN submissions
    ProgrammingLanguages & Compilers
    What HN says

    HN commenters link it for C++ references, including lists of removed C++17 features, ranges before and after examples, east const and converting enums to strings.

    Stats for nerds
    25HN people shared it
    33linked in comments
    333story points
    Jan 2025last shared
    2020people per year2025

    Top posts on HN

    1. 1
      What's new in C++26 (part 1)
      1 person · 149 points · first shared 2024 · 165 comments on HN
    2. 2
      Three new utility functions in C++23
      1 person · 139 points · first shared 2022 · 187 comments on HN
    3. 3
      C++17 removed and deprecated features
      3 people · 5 points · first shared 2018 · Discussion on HN
    4. 4
      Using East Const in C++
      3 people · 4 points · first shared 2021 · Discussion on HN
    5. 5
      Virtual Inheritance in C++
      2 people · 4 points · first shared 2021 · Discussion on HN
    6. 6
      C++ code before and after Ranges
      2 people · 3 points · first shared 2019 · Discussion on HN
    7. 7
      Improvements to Std:Format in C++26
      2 people · 2 points · first shared 2026 · Discussion on HN
    8. 8
      The PImpl idiom and the C++26 std:indirect type
      2 people · 2 points · first shared 2026 · Discussion on HN
    9. 9
      Formatting Text in C++: The Old and the New Ways
      2 people · 2 points · first shared 2023 · Discussion on HN
    10. 10
      Microsoft made C++ a second-class citizen in Visual Studio 2015
      1 person · 2 points · first shared 2015 · Discussion on HN

    What HN people wrote when they linked it

    • rramadassMay 2024

      POD is not an idiom. It was an actual specification (in a sense) for interop between C++ and C. Only in the later standards (maybe starting at C++14?) did the committee refine it further as "POD = Trivial + Standard_Layout" but that is just a redefinition without any fundamental change in semantics. So you can happily write C++ code with just your understanding of POD from C++98 in practice and everything will work fine.

      References:

      1) Trivial, standard-layout, POD, and literal types - https://learn.microsoft.com/en-us/cpp/cpp/trivial-standard-layout-and-pod-types?view=msvc-170

      2) No more plain old data - https://mariusbancila.ro/blog/2020/08/10/no-more-plain-old-data/

    • jcelerierJun 2022

      > LINQ is to C#/.NET what <algorithm> is to C++.

      algorithms weren't really composable unlike LINQ.

      Ranges however are, see the examples here: https://mariusbancila.ro/blog/2019/01/20/cpp-code-samples-before-and-after-ranges/

      And they also heavily benefit from coroutines, basically allowing to make ranges from anything with e.g. std::generator<T>

    • enqkAug 2021

      look up eastside const

      https://mariusbancila.ro/blog/2018/11/23/join-the-east-const-revolution/

      I’ve been using this style at home in a longtime now, I appreciate how it’s more at home with C and more consistent

    • 317070Sep 2023

      There are a couple of drier alternatives in this blogpost: https://mariusbancila.ro/blog/2023/08/17/how-to-convert-an-enum-to-string-in-cpp/

    • saagarjhaFeb 2020

      Here’s a list for C++17 and C++20, at least: https://mariusbancila.ro/blog/2018/07/05/c17-removed-and-deprecated-features/

    • fragmedeJan 2025

      https://mariusbancila.ro/blog/2019/05/16/cpp-is-fun/

    Related

    Herb Sutterherbsutter.com204 people

    Bjarne Stroustrup on Dennis Ritchie: They said it couldn't be done, & he did it

    Herb Sutter
    Personal · last shared 2026
    Eric Nieblerericniebler.com22 people

    C++20 Ranges

    Eric Niebler
    Personal · last shared 2024
    Andreas Fredrikssondeplinenoise.wordpress.com15 people

    The App Store Nightmare

    Andreas Fredriksson
    Personal · last shared 2026
    Arne Mertzarne-mertz.de26 people

    Modern C++ Features – std::optional

    Arne Mertz
    Personal · last shared 2024
    Johnny's Software Labjohnnysswlab.com28 people

    The messy reality of SIMD (vector) functions

    Johnny's Software Lab
    Personal · last shared 2026
    Modernes C++modernescpp.com35 people

    C++ 20: The Core Language

    Modernes C++
    Personal · last shared 2026
    Andrzej's C++ blogakrzemi1.wordpress.com35 people

    A bug in GCC that may cause memory leaks in valid C++ programs

    Andrzej's C++ blog
    Personal · last shared 2025
    Bannaliabannalia.blogspot.com22 people

    Inside boost::unordered_flat_map

    Bannalia
    Personal · last shared 2026