3 ms·
Pros and cons in comparison to Lua? Or simply using "rlua"?
by kensai 6y ago
Pros and cons in comparison to Lua? Or simply using "rlua"?
- fleabitdev 6y agoThe pros are summarised here: https://gamelisp.rs/reference/introduction-for-rust-programmers.html https://gamelisp.rs/reference/introduction-for-rust-programm... The main cons would be the lack of LuaJIT, the lack of C or C++ bindings, and the fact that Lua is spectacularly more mature and stable :) (Full disclosure: I'm the project's developer)
- EamonnMR 6y agoDepends on what type of syntax you enjoy I think.
- PicassoCTs 6y agoFunctional language approaches are very neat to encode game rules. Just define the sets to which a rule apply, define rule -> behaviour maps and then apply. With this alot of procedural/object orientated cruft shrinks down to one page algo&definitions. Lua does supply this style, just needs some slight additions.
- Graziano_M 6y agoCould use fennel [1], too. [1] https://fennel-lang.org/ https://fennel-lang.org/