Chromium accepting Rust in a clear move to copy what Mozilla have done, replace C++ source code

This page summarizes the projects mentioned and recommended in the original post on /r/cpp

InfluxDB - Purpose built for real-time analytics at any scale.
InfluxDB Platform is powered by columnar analytics, optimized for cost-efficient storage, and built with open data standards.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • rust

    Empowering everyone to build reliable and efficient software.

    Interoperable ABI: https://github.com/rust-lang/rust/pull/105586

  • InfluxDB

    Purpose built for real-time analytics at any scale. InfluxDB Platform is powered by columnar analytics, optimized for cost-efficient storage, and built with open data standards.

    InfluxDB logo
  • hspp

    hspp: An experimental library to bring Haskell Style Programming to C++.

    Yeah, C++ supports higher kinded types through template templates (I'm not sure why the other poster said it doesn't), however it quickly becomes messy and impractical. Here's a cursed library that attempts to support Haskell-style programming in C++. Here's an example where they implement a monad transformer using the only example of a template template template that I have ever seen in the wild.

  • libCat

    🐈‍⬛ A runtime for C++26 w/out libC or POSIX. Smaller binaries, only arena allocators, SIMD, stronger type safety than STL, and value-based errors!

    It's worse in the standard library than it has to be. When I refactored my traits to minimize template instantiations and lean on concepts as much as possible, I measured over 30% improvement to clean build compile times. It's not possible for the standard to do this, because it would subtly change the API. For instance, you can't instantiate or take the address of a concept, but you can for a type-trait class. No reason you'd want to do that, but you can, so they can't "break" the standard library by optimizing this.

  • kani

    Kani Rust Verifier

    By making your code have some semantics (even panicking has defined semantics). C++ UB is characterized by having no semantics. Giving your code clear runtime semantics, a small-step description of what happens when you execute expression X, is what enables robust and provable static analysis in the first place. So indeed there are proof checkers, such as this, that allow you to ensure that code is panic free (i.e. bounds are actually never executed).

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

  • The C Bounded Model Checker: Criminally Underused

    7 projects | news.ycombinator.com | 30 Jan 2024
  • This Week in Rust 499

    3 projects | news.ycombinator.com | 15 Jun 2023
  • Quick File Sorter: An open source tool for sorting your files on Linux

    3 projects | /r/opensource | 8 May 2023
  • Must move types by Niko Matsakis

    3 projects | /r/rust | 17 Mar 2023
  • WisniaLang – Compile binaries 41x faster and 27x lighter than Rust

    1 project | /r/CKsTechNews | 28 Nov 2022