hlua
Rust library to interface with Lua (by tomaka)
rune
An embeddable dynamic programming language for Rust. (by rune-rs)
hlua | rune | |
---|---|---|
3 | 22 | |
496 | 1,557 | |
- | 2.6% | |
0.0 | 8.9 | |
over 4 years ago | 5 days ago | |
C | Rust | |
MIT License | Apache License 2.0 |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
hlua
Posts with mentions or reviews of hlua.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-10-22.
-
Are there any embeddable languages in rust?
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).
-
Rust's interface to the Lua programming language is called 'mlua'. not Lust. This should get fixed.
There's an older binding called hlua https://github.com/tomaka/hlua
-
Does rust have function works like eval?
hlua or rlua are what you want for Lua, rust-cpython or PyO3 for Python, rutie for Ruby, and possibly deno_core for JavaScript.
rune
Posts with mentions or reviews of rune.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2024-04-26.
- 3 years of fulltime Rust game development, and why we're leaving Rust behind
- RustPython
-
Steel – An embedded scheme interpreter in Rust
A Lisp, a weird dialect of Lisp, is not better than Lua. Why use Rune [0]?!
[0]: https://rune-rs.github.io/
-
Embeddable Scripting Language for Embedded Rust
This is what I based my comment on - https://github.com/rune-rs/rune/issues/444
-
-🎄- 2022 Day 13 Solutions -🎄-
Late start today as well. I really thought today would be the day that I'd have to abandon my goal of no heap allocations. But, luckily I had an arena allocator available that I could fairly easily adapt to store data on the stack. And with some tweaks we have today's solution:
- ᚣ the Rune Programming Language
-
thought you guys might like this monstrosity i created (that i actually use in a project)
I'd have given you bonus points for using a rust styled scripting language like rune but that's pretty neat still
-
Visual scripting for Rust
As note about using rust syntax for scripting: https://rune-rs.github.io/
-
Designing a Rust -> Rust plugin system
I know you said you don’t want to embed another language but IMO Rune is worth a consideration here. It can be a pretty thin abstraction over rust by passing native structs to scripts and calling methods on them. The syntax and semantics are very close to rust so it feels natural. https://github.com/rune-rs/rune
-
Rune vs Rhai?
The biggest technical difference I'd say is that Rune uses a stack-based machine which makes adding deep C support somewhat obvious while Rhai performs AST walking to execute scripts.
What are some alternatives?
When comparing hlua and rune you can also consider the following projects:
Rhai - Rhai - An embedded scripting language for Rust.
rust-lua - Safe Rust bindings to Lua 5.1
RustPython - A Python Interpreter written in Rust
rlua - High level Lua bindings to Rust
mun - Source code for the Mun language and runtime.
td_rlua - Zero-cost high-level lua 5.3 wrapper for Rust
miniserve - 🌟 For when you really just want to serve some files over HTTP right now!
rust-lua53 - Lua 5.3 bindings for Rust
Flux.jl - Relax! Flux is the ML library that doesn't make you tensor
Clippy - A bunch of lints to catch common mistakes and improve your Rust code. Book: https://doc.rust-lang.org/clippy/
gluon - A static, type inferred and embeddable language written in Rust.