Trying to write a stack-based VM in Rust, have not found useful tutorial.

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

  • I gave a talk about this recently, on how to write a variety of interpreters and their performance trade-offs: https://www.youtube.com/watch?v=V8dnIw3amLA&list=PLFTr8ChfQg9t9quFJNSoRwVHQhLFfTYnV. The code that goes behind the talk for stack-based interpreters is at https://github.com/ndmitchell/interpret/blob/main/src/alt/jump_stack.rs, which might be useful as a simplified stack-based interpreter.

  • evolution_original

    rust evolving pictures

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

    An MVP stack based bytecode VM (by mkhan45)

  • I'm actually writing a tutorial right now, but in the meantime you can checkout this repo of mine: https://github.com/mkhan45/tinyvm. It's a ~250 LOC stack vm with another 200 lines of comments

  • TablaM

    The practical relational programing language for data-oriented applications

  • So I think just write the simplest code you want and then later review it. I also start rust doing a programming language (https://tablam.org) and agonize too much in performance and other stuff when was too green on Rust. Later I let it go and just code it.

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