A C perspective - Why should I want Rust to succeed?

This page summarizes the projects mentioned and recommended in the original post on reddit.com/r/rust

Our great sponsors
  • SonarLint - Deliver Cleaner and Safer Code - Right in Your IDE of Choice!
  • Scout APM - Less time debugging, more time building
  • SaaSHub - Software Alternatives and Reviews
  • nomicon

    The Dark Arts of Advanced and Unsafe Rust Programming

    Well, it is your opinion but Rust can be as fast or faster than C, you just need to know what you are doing, if you know every trick of C and try to compare to Rust it is clear what will happen but because Rust it is a more complex lang it can perform better code optimizations, dont blame the tool if you cant achieve the same performance, to really get performance you need to know the https://doc.rust-lang.org/nomicon/ and beyond, the free book it is fine for an entry point, dont expect to become an expert only with it

  • Rust-for-Linux

    Adding support for the Rust language to the Linux kernel. (by Rust-for-Linux)

  • SonarLint

    Deliver Cleaner and Safer Code - Right in Your IDE of Choice!. SonarLint is a free and open source IDE extension that identifies and catches bugs and vulnerabilities as you code, directly in the IDE. Install from your favorite IDE marketplace today.

  • rustc_codegen_gcc

    libgccjit AOT codegen for rustc

    Another point is that you may want to compile the C code with clang, so that you will compare both with the same backend. (there's an experimental GCC backend for the Rust compiler but it isn't usable yet)

  • ring

    Safe, fast, small crypto using Rust (by briansmith)

    For working software, literally no one is arguing this. For buggy, error prone important libraries written in C, like OpenSSL, yeah, maybe we should consider rewriting incrementally in a memory safe language, like Rust. See: https://github.com/briansmith/ring

  • rayon

    Rayon: A data parallelism library for Rust

    ³ For example error handling with Result, parallel iteration using [rayon](https://crates.io/crates/rayon)s par_iter(), walking the file system using the various modules in std::fs, etc.

  • json

    JSON for Modern C++

    Many common C++ utils are rather small header only things that are easily integrated and don't pull in a full tree (or forest ;)) of dependencies. Like the awesome https://github.com/nlohmann/json

  • Exercism - website

    The codebase for Exercism's website. (by exercism)

    Try some refactoring practice, maybe?

  • Scout APM

    Less time debugging, more time building. Scout APM allows you to find and fix performance issues with no hassle. Now with error monitoring and external services monitoring, Scout is a developer's best friend when it comes to application development.

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