logoalt Hacker News

jeorbtoday at 2:06 PM2 repliesview on HN

Are there any comparisons to other Rust scripting languages like Rhai and Rune?


Replies

zengidtoday at 3:58 PM

khvzak has compiled some benchmarks. mlua and roto are some of the fastest: https://github.com/khvzak/script-bench-rs

ryanshrotttoday at 2:28 PM

Rhai is dynamically typed and uses reference counting, Rune has a full VM with a borrow checker, and Roto compiles to bytecode. The tradeoff is basically faster iteration with Rhai vs faster execution with Roto, with Rune sitting somewhere in the middle but feeling heavier.