Are there any embeddable languages in rust?

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

SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  1. hlua

    Rust library to interface with Lua

    The C++ language doesn’t embed Lua, various game engines (and other applications) written in C++ do, using an API binding that provides a C++ wrapper around Lua’s underlying C API. Well there are Lua bindings for Rust as well (as a randomly selected example see hlua), and there are bindings for several other languages as well (like Python).

  2. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  3. rune

    An embeddable dynamic programming language for Rust.

  4. Rhai

    Rhai - An embedded scripting language for Rust.

  5. gluon

    A static, type inferred and embeddable language written in Rust.

  6. mun

    Source code for the Mun language and runtime.

    It's not quite there yet, but https://mun-lang.org/ is a project I'm watching with great interest.

  7. duckscript

    Simple, extendable and embeddable scripting language.

    At it's most basic you could make a really simple interpreter by just doing such a thing, and there is essentially already such a simple language like that built for/in rust called Duckscript (rust has a surprisingly large number of little embedded languages), and that would be completely and entirely sufficient for many purposes, though if you want speed then you'll need to JIT or AOT the code, which is why wasm is so handy as you can interpret or JIT (or even AOT it with wasmer) without the much larger overhead of a, for example, javascript or java embedded runtime.

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

  • Steel – An embedded scheme interpreter in Rust

    13 projects | news.ycombinator.com | 3 Dec 2023
  • Which is the best Rust scripting language for Exploratory Data Analysis (EDA)

    7 projects | /r/rust | 9 Oct 2021
  • Liquid-rust: Liquid templating for Rust

    5 projects | news.ycombinator.com | 9 Dec 2025
  • Roto: A Compiled Scripting Language for Rust

    1 project | news.ycombinator.com | 21 May 2025
  • Rhai: An embedded scripting language for Rust

    11 projects | news.ycombinator.com | 17 Jan 2025

Did you know that Rust is
the 3rd most popular programming language
based on number of references?