My experience crafting an interpreter with Rust (2021)

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

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
  • enum-ptr

    Ergonomic tagged pointer

  • There are some crates that let you do that. For example enum-ptr

    https://crates.io/crates/enum-ptr

  • lisp-rs

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

    Lexer generator for C, C++, Go and Rust.

  • > What do you gain by using it?

    Performance, although this possibly depends on your compiler, whether you use PGO, and similar finicky issues.

    Example: https://eli.thegreenplace.net/2012/07/12/computed-goto-for-e...

    Some prior HN discussion: https://news.ycombinator.com/item?id=18678920

    Another example where goto is relevant is implementing finite automata. A (very short) paper from 1988 that discusses three different ways of implementing a finite state machine is "How (Not) to Code a Finite State Machine". The documentation of RE2C may be even more interesting: https://re2c.org

    RE2C is a program that compiles finite automata into C, Go, or Rust code. It provides many implementation strategies: it can make use of computed or labelled gotos when the language provides them.

    Implementing pushdown automata comes with similar issues.

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

  • Show HN: You Are Merlin – a Rust CLI and WASM Text Adventure Game

    1 project | news.ycombinator.com | 13 May 2024
  • Ask HN: LLVM versus WASM?

    1 project | news.ycombinator.com | 12 May 2024
  • Error Handling for Large Rust Projects - A Deep Dive into GreptimeDB's Practices

    2 projects | dev.to | 12 May 2024
  • Secure Pattern for Deploying WASM on S3

    2 projects | dev.to | 11 May 2024
  • Stalwart Mail Server

    1 project | news.ycombinator.com | 11 May 2024