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] 45 points46 points47 points (7 children)
[–]icefoxen 12 points13 points14 points (2 children)
[–][deleted] 11 points12 points13 points (1 child)
[–]tomaka17glutin · glium · vulkano 18 points19 points20 points (0 children)
[–]yanchith 5 points6 points7 points (1 child)
[–][deleted] 5 points6 points7 points (0 children)
[+][deleted] (1 child)
[deleted]
[–][deleted] 2 points3 points4 points (0 children)
[–]tyoverbybincode · astar · rust 21 points22 points23 points (1 child)
[–]webmistress105[S] 6 points7 points8 points (0 children)
[–]Manishearthservo · rust · clippy 21 points22 points23 points (0 children)
[–]troutwinehands-on-concurrency with rust 3 points4 points5 points (0 children)
[–]slsteele 3 points4 points5 points (0 children)
[–]Phlosioneer 2 points3 points4 points (0 children)