Hacker News new | ask | show | jobs
by nine_k 338 days ago
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.
1 comments

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.