Running the "Reflections on Trusting Trust" Compiler

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
  • mrustc

    Alternative rust compiler (re-implementation)

  • SaaSHub

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

    SaaSHub logo
  • nixpkgs

    Nix Packages collection & NixOS

    Relevant is https://github.com/NixOS/nixpkgs/pull/85542 , a (very stale) PR that uses mrustc to get straight to Rust 1.29 and then walks the chain.

  • neat

    The Neat Language compiler. Early beta? (by Neat-Lang)

    Funny sidestory: The way my compiler ( https://github.com/neat-lang/neat ) used to build is, two years ago there was an initial compiler that was written in D. And every time you checked it out on a new system, there was a file with a list of breaking commits, and it would:

    - git clone itself in a subfolder

  • archlinux-installer-script

    Arch Linux install script. Only performs the minimal steps for booting into arch. 75 lines of script with full progress messages and tutorial.

    I haven't installed it since ~2016/2017, so my knowledge might be outdated. If you use one of the arch-based distros with a GUI, then you're right that it's very easy to install.

    If you follow the Wiki though, I think you still learn quite a bit: https://wiki.archlinux.org/title/installation_guide

  • c4

    C in four functions

    The C4 compiler [https://github.com/rswier/c4] is a self-hosting compiler for a subset of the C programming language that produces executable x86 code. You can understand and audit this code in a couple of hours (its 528 lines).

    It could be an interesting exercise to bootstrap up from something like this to a working linux environment based solely on source code compilation : no binary inputs. Of course a full linux environment has way too much source code for one person or team to audit, but at least it rules out RoTT style binary compiler contamination.

  • stage0

    A set of minimal dependency bootstrap binaries

  • mescc-tools-seed

    A place for public review of the posix port of stage0

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

  • Epic Allows Internet Archive to Distribute Unreal and Unreal Tournament Forever

    4 projects | news.ycombinator.com | 19 Nov 2024
  • Release Schedule for NixOS 24.11

    1 project | news.ycombinator.com | 4 Nov 2024
  • The future of software is Nix

    2 projects | news.ycombinator.com | 25 Oct 2024
  • The abysmal state of GNU/Linux and a case against shared object libraries

    3 projects | news.ycombinator.com | 14 Oct 2024
  • Exercise has 2M users but no money in the bank

    1 project | news.ycombinator.com | 13 Sep 2024

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