onramp

A portable self-bootstrapping C compiler (by ludocode)

Onramp Alternatives

Similar projects and alternatives to onramp

  1. rust

    2,786 onramp VS rust

    Empowering everyone to build reliable and efficient software.

  2. Nutrient

    Nutrient – The #1 PDF SDK Library, trusted by 10K+ developers. Other PDF SDKs promise a lot - then break. Laggy scrolling, poor mobile UX, tons of bugs, and lack of support cost you endless frustrations. Nutrient’s SDK handles billion-page workloads - so you don’t have to debug PDFs. Used by ~1 billion end users in more than 150 different countries.

    Nutrient logo
  3. gccrs

    104 onramp VS gccrs

    GCC Front-End for Rust

  4. live-bootstrap

    Use of a Linux initramfs to fully automate the bootstrapping process

  5. ultra

    1 onramp VS ultra

    A Leiningen plugin for a superior development environment (by venantius)

  6. wonderland-clojure-katas

    Discontinued Clojure Katas inspired by Alice in Wonderland

  7. integrant

    14 onramp VS integrant

    Micro-framework for data-driven architecture

  8. sicp

    30 onramp VS sicp

    HTML5/EPUB3 version of SICP

  9. CodeRabbit

    CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.

    CodeRabbit logo
  10. component

    13 onramp VS component

    Managed lifecycle of stateful objects in Clojure (by stuartsierra)

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better onramp alternative or higher similarity.

onramp discussion

Log in or Post with

onramp reviews and mentions

Posts with mentions or reviews of onramp. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-08-25.
  • Why am I writing a Rust compiler in C?
    4 projects | news.ycombinator.com | 25 Aug 2024
    It can be difficult to explain why bootstrapping is important. I put a "Why?" section in the README of my own bootstrapping compiler [0] for this reason.

    Security is a big reason and it's one the bootstrappable team tend to focus on. In order to avoid the trusting trust problem and other attacks (like the recent xz backdoor), we need to be able to bootstrap everything from pure source code. They go as far as deleting all pre-generated files to ensure that they only rely on things that are hand-written and auditable. So bootstrapping Python for example is pretty complicated because the source contains code generated by Python scripts.

    I'm much more interested in the cultural preservation aspect of it. We want to preserve contemporary media for future archaeologists, for example in the Arctic World Archive [1]. Unfortunately it's pointless if they have no way to decode it. So what do we do? We can preserve the specs, but we can't really expect them to implement x265 and everything else they would need from scratch. We can preserve binaries, but then they'd need to either get thousand-year-old hardware running or virtualize a thousand-year-old CPU. We can give them, say, a definition of a simple Lisp, and then give them code that runs on that, but then who's going to implement x265 in a basic Lisp? None of this is really practical.

    That's why in my project I made a simple virtual machine, then bootstrapped C on top of it. It's trivially portable, not just to present-day architectures but to future and alien architectures as well. Any future archaeologist or alien civilization could implement the VM in a day, then run the C bootstrap on it, then compile ffmpeg or whatever and decode our media.

    [0]: https://github.com/ludocode/onramp?tab=readme-ov-file#why-bo...

  • The Ken Thompson Hack
    1 project | news.ycombinator.com | 30 Mar 2024
    The team at bootstrappable.org have been working very hard at creating compilers that can bootstrap from scratch to prevent this kind of attack (the "trusting trust" attack is another name for it.) They've gotten to the point where they can bootstrap in freestanding so they don't need to trust any OS binaries anymore (see builder-hex0.)

    I've spent a lot of my spare time the past year or so working on my own attempt at a portable bootstrappable compiler. It's partly to prevent this attack, and also partly so that future archaeologists can easily bootstrap C even if their computer architectures can't run any binaries from the present day.

    https://github.com/ludocode/onramp

    It's nowhere near done but I'm starting a new job soon so I felt like I needed to publish what I have. It does at least bootstrap from handwritten x86_64 machine code up to a compiler for most of C89, and I'm working on the final stage that will hopefully be able to compile TinyCC and other similar C compilers soon.

Stats

Basic onramp repo stats
2
131
9.7
10 days ago

ludocode/onramp is an open source project licensed under MIT License which is an OSI approved license.

The primary programming language of onramp is C.


Sponsored
Nutrient – The #1 PDF SDK Library, trusted by 10K+ developers
Other PDF SDKs promise a lot - then break. Laggy scrolling, poor mobile UX, tons of bugs, and lack of support cost you endless frustrations. Nutrient’s SDK handles billion-page workloads - so you don’t have to debug PDFs. Used by ~1 billion end users in more than 150 different countries.
www.nutrient.io

Did you know that C is
the 6th most popular programming language
based on number of references?