What's new in C++26 (part 1)

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • dawn

    Native WebGPU implementation. Mirror of https://dawn.googlesource.com/dawn (by google)

    This doesn't match my experience. You can find C++17 std::string_view in Google's WebGPU implementation [1], C++17 static_assert in Protobufs [2], C++20 std::format in pytorch [3], C++20 consteval in Cuda Core Compute libraries [4]. C++23 features aren't as common yet, but that's probably because MSVC support is still lagging behind.

    [1] https://github.com/google/dawn/blob/40cf7fd7bc06f871fc5e4823...

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  • Protobuf

    Protocol Buffers - Google's data interchange format

  • Pytorch

    Tensors and Dynamic neural networks in Python with strong GPU acceleration

  • avendish

    declarative polyamorous cross-system intermedia objects

    Check out boost.pfr, it gets you there for a lot of cases. Here's a library I built with it: https://github.com/celtera/avendish

    It's a proper quantum leap compared to pre-reflection

  • carbon-lang

    Carbon Language's main repository: documents, design, implementation, and related tools. (NOTE: Carbon Language is experimental; see README)

    I for one started working on a new project in C++ rather than Rust. I think it's unclear whether Rust is going to be the successor at this point. It's probably never going to pick up in the games industry, QT is C++ (and Rust bindings will always be second class or they could end up unmaintained), has better compile times and is said to be undisputed when it comes to high performance. Obviously the tool for the job factor is most critical.

    Career wise, many people are picking up Rust and almost no one is picking up C++, while experienced C++ devs either retire or switch to a higher level language due to landscape change. I would trust supply and demand to be in favour of C++ 10 years from now.

    There are also attempts to make C++ more memory safe like Carbon[1] or Circle compiler [2]. If they succeed, why would anyone want to switch to Rust? Also Rust is not ideal for security from a different perspective - I think the lack of a package manager is one C++ strongest points. After working for 9 years with npm, you really appreciate that the dependency you install is usually just a single dependency (even an option for a single header file is common), when there's a package manager, people will abuse it (like install a package with 3 dependencies of its own for something that could be 50 LOC copy-paste) and managing the security of the supply chain is nearly impossible (it will be a legal requirement soon in EU though).

    Anyway, I wanted to ask. How is the contracting market looking in C++ world? I'm guessing it depends on the domain heavily? I'm mainly asking about QT and anything that would be desktop / mobile apps / systems programming except video games, but I'm curious in general.

    [1] https://github.com/carbon-language/carbon-lang

    [2] https://github.com/seanbaxter/circle

  • circle

    The compiler is available for download. Get it!

    I for one started working on a new project in C++ rather than Rust. I think it's unclear whether Rust is going to be the successor at this point. It's probably never going to pick up in the games industry, QT is C++ (and Rust bindings will always be second class or they could end up unmaintained), has better compile times and is said to be undisputed when it comes to high performance. Obviously the tool for the job factor is most critical.

    Career wise, many people are picking up Rust and almost no one is picking up C++, while experienced C++ devs either retire or switch to a higher level language due to landscape change. I would trust supply and demand to be in favour of C++ 10 years from now.

    There are also attempts to make C++ more memory safe like Carbon[1] or Circle compiler [2]. If they succeed, why would anyone want to switch to Rust? Also Rust is not ideal for security from a different perspective - I think the lack of a package manager is one C++ strongest points. After working for 9 years with npm, you really appreciate that the dependency you install is usually just a single dependency (even an option for a single header file is common), when there's a package manager, people will abuse it (like install a package with 3 dependencies of its own for something that could be 50 LOC copy-paste) and managing the security of the supply chain is nearly impossible (it will be a legal requirement soon in EU though).

    Anyway, I wanted to ask. How is the contracting market looking in C++ world? I'm guessing it depends on the domain heavily? I'm mainly asking about QT and anything that would be desktop / mobile apps / systems programming except video games, but I'm curious in general.

    [1] https://github.com/carbon-language/carbon-lang

    [2] https://github.com/seanbaxter/circle

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Top 8 AI Open Source Software Libraries

    4 projects | dev.to | 24 Jul 2024
  • How could you use AI for music inspiration/ideas?

    1 project | /r/edmproduction | 23 May 2023
  • Sonification of particles coordinates

    2 projects | /r/sonification | 31 Mar 2023
  • Zero coding experience, trying to setup a training environment and running into an error

    2 projects | /r/learnpython | 2 Mar 2023
  • I train some models, but GPU usage is too low is that normal for learning a model in local?

    1 project | /r/deeplearning | 8 Feb 2023

Did you konow that C++ is
the 6th most popular programming language
based on number of metions?