Script language for rust like C++ has got Lua?


#1

I am pythonist and i was wondering if Rust works with a special script language
like Lua is for C++ ?


#2

There are bindings for lua and python if you need them. There is also Dyon. You may find others on crates.io.


#3

Just a little nitpick.

Lua is written in C, not C++.

C++ has to work with the C API, which limits what you can do.


#4

There is also Rhai: https://github.com/jonathandturner/rhai/blob/master/README.md

There was another one at some point… can’t seem to remember it at the moment though.


#5

There’s gluon which looks interesting if you want a more statically-typed language.


#6

Here is an overview of languages implemented in Rust that may help you, too: