Our great sponsors
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
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.
-
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.
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.
I wonder if Rune would be a good fit.
For C lua is a thing, for rust there would be rlua.
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 )
Just want to throw rhai into the hat. It seems like it would have tighter Rust integration, but slower execution speed compared to lua.
i've never used it but saw this this week, looked interesting: https://github.com/oxfeeefeee/goscript
Deno. Typescript, JS engine written in rust by maker of Node. WASM friendly
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.
I haven’t tried it yet, so ymmv, but take a look at AssemblyScript. It’s like Typescript with WASM support.
There is even a Clojure dialect, although I don't know how mature it is. https://github.com/lokke-org/lokke
doesn't really appear on the crates.io page of mlua.