What scripting language and what implementation would you use with your program written in Rust?

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

    Source code for the Mun language and runtime.

  • The other one that you see here a lot is mun which is about hot reloading and has the same almost identical syntax. And once again it's born a short time ago, hard to find snippets, all the rest.

  • rune

    An embeddable dynamic programming language for Rust. (by rune-rs)

  • I wonder if Rune would be a good fit.

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

    Lua is a powerful, efficient, lightweight, embeddable scripting language. It supports procedural programming, object-oriented programming, functional programming, data-driven programming, and data description.

  • For C lua is a thing, for rust there would be rlua.

  • hematita

    A memory safe Lua interpreter

  • Rust has some good bindings with lua, for example mlua and rlua. There is also a rewrite of lua in 100% safe rust called hematita ( https://github.com/danii/hematita )

  • Rhai

    Rhai - An embedded scripting language for Rust.

  • Just want to throw rhai into the hat. It seems like it would have tighter Rust integration, but slower execution speed compared to lua.

  • goscript

    An alternative implementation of Golang specs, written in Rust for embedding or wrapping.

  • i've never used it but saw this this week, looked interesting: https://github.com/oxfeeefeee/goscript

  • deno

    A modern runtime for JavaScript and TypeScript.

  • Deno. Typescript, JS engine written in rust by maker of Node. WASM friendly

  • SaaSHub

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

    SaaSHub logo
  • mlua

  • I really love mlua. The api is excellent. You can convert between Rust and Lua values either with the ToLua and FromLua traits, and also serde serialization/deserialization. I tend to use a little of both.

  • assemblyscript

    A TypeScript-like language for WebAssembly.

  • I haven’t tried it yet, so ymmv, but take a look at AssemblyScript. It’s like Typescript with WASM support.

  • lokke

    Lokke: Clojure for Guile

  • There is even a Clojure dialect, although I don't know how mature it is. https://github.com/lokke-org/lokke

  • RustPython

    A Python Interpreter written in Rust

  • pyodide

    Pyodide is a Python distribution for the browser and Node.js based on WebAssembly

  • crates.io

    The Rust package registry

  • doesn't really appear on the crates.io page of mlua.

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

  • Building a baseline JIT for Lua automatically

    2 projects | news.ycombinator.com | 11 Jan 2024
  • Pluto, a Modern Lua Dialect

    9 projects | news.ycombinator.com | 27 Dec 2023
  • Steel – An embedded scheme interpreter in Rust

    13 projects | news.ycombinator.com | 3 Dec 2023
  • Are there any embeddable languages in rust?

    6 projects | /r/rust | 22 Oct 2021
  • What's everyone working on this week (29/2021)?

    15 projects | /r/rust | 19 Jul 2021