←back to thread

21 points wanderinglight | 1 comments | | HN request time: 0.245s | source
Show context
nine_k ◴[] No.44611475[source]
I wonder what would it take to have the decision-making code (planning/movement.cpp) be Lua, not C++. That would allow to experiment with algorithm variation very quickly, e.g. just updating a file with Lua code, without recompiling and restarting.
replies(1): >>44614555 #
1. wanderinglight ◴[] No.44614555[source]
I don't have any experience with Lua but looking around I think it should be easy to load the formation coordinator / node implementations as Lua files that can be hot reloaded without re-compiling.

Great suggestion! I've created an issue to keep track of this. https://github.com/sushrut141/ketu/issues/8

I will definitely look into this once Ketu gains more traction. REPLit like behaviour would help more people try things out.