Compiling Brainfuck code - Part 2: A Singlepass JIT Compiler

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

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • dynasm-rs

    A dynasm-like tool for rust.

  • In this second part we write a JIT compiler from scratch. Here I am showing the basics of x86 assembly and machine code, ABI's and calling conventions, getting executable memory from the OS and how to use dynasm-rs.

  • cargo-show-asm

    cargo subcommand showing the assembly, LLVM-IR and MIR generated for Rust code

  • In this case, I used cargo-show-wasm

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • space-invaders-emu

    A Space Invaders Emulator written in Rust

  • Yes, Thanks! It was fixed here.

  • bf-compiler

    Interpreted, optimized, JITed and compiled implementations of the Brainfuck lang.

  • The percentages appear to be alright, at least the 0.26% is. You can crosscheck with the ones in this document. In that file, I have the individual decrease for each program, but in the post I show the mean. The units in the table are in seconds, and the deltas in percentage, I forget to put them there.

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

  • What part of Rust compilation is the bottleneck?

    1 project | news.ycombinator.com | 16 Mar 2024
  • Unlocking the Power of WebAssembly

    3 projects | dev.to | 10 Mar 2024
  • Show HN: RustPython for BeOS with W2c2

    1 project | news.ycombinator.com | 4 Feb 2024
  • Rust is replacing C as the Python back end

    1 project | news.ycombinator.com | 25 Jan 2024
  • RustPython: An open source Python 3 interpreter written in Rust

    1 project | news.ycombinator.com | 25 Jan 2024