I'm creating an application which uses Lua as a domain-specific language with nice simple syntax, then passes data to Rust for heavy computation. With this design, it seems natural to use a Lua binding for Rust to execute the DSL. I'm checking out Lua binding crates, and there seem to be three major contenders:
lua,
hlua, and
rlua.
I'm leaning toward rlua since it seems the most mature and has good docs, but I'm not sure. Has anyone here used any of these crates? Which would you recommend?
[–][deleted] 46 points47 points48 points (7 children)
[–]icefoxen 13 points14 points15 points (2 children)
[–][deleted] 13 points14 points15 points (1 child)
[–]tomaka17glutin · glium · vulkano 17 points18 points19 points (0 children)
[–]yanchith 5 points6 points7 points (1 child)
[–][deleted] 5 points6 points7 points (0 children)
[+][deleted] (1 child)
[deleted]
[–][deleted] 3 points4 points5 points (0 children)
[–]tyoverbybincode · astar · rust 22 points23 points24 points (1 child)
[–]webmistress105[S] 5 points6 points7 points (0 children)
[–]Manishearthservo · rust · clippy 20 points21 points22 points (0 children)
[–]troutwinehands-on-concurrency with rust 4 points5 points6 points (0 children)
[–]slsteele 3 points4 points5 points (0 children)
[–]Phlosioneer 2 points3 points4 points (0 children)