Can the Rust compiler be compiled to WASM and run on a browser?

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

    An interpreter for Rust's mid-level intermediate representation

  • Part of rustc bas been compiled to wasm previously. A hello-world program has ran via rustc/miri on wasi. A benefit of adding a wasm backend to cranelift would allow for the cranelift backend for rustc compile code inside and to run in the browser.

  • wasmtime

    A fast and secure runtime for WebAssembly

  • Part of rustc bas been compiled to wasm previously. A hello-world program has ran via rustc/miri on wasi. A benefit of adding a wasm backend to cranelift would allow for the cranelift backend for rustc compile code inside and to run in the browser.

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

    Cranelift based backend for rustc

  • Part of rustc bas been compiled to wasm previously. A hello-world program has ran via rustc/miri on wasi. A benefit of adding a wasm backend to cranelift would allow for the cranelift backend for rustc compile code inside and to run in the browser.

  • Code-Server

    VS Code in the browser

  • the toolchain isn't ported to wasm yet, so your fastest option would be using AWS Cloud9 or a similar online IDE for this. if you have a desktop capable of running the toolchain as is, you can also set up a browser-based vscode with https://github.com/cdr/code-server and do all your computer locally.

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

  • Progress report on rustc_codegen_cranelift (April 2021)

    2 projects | /r/rust | 14 Apr 2021
  • 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
  • MotorOS: a Rust-first operating system for x64 VMs

    7 projects | news.ycombinator.com | 7 Jan 2024
  • Lightweight Containers With Docker and WebAssembly

    1 project | dev.to | 18 Dec 2023