I think the Nim devs want it to work for this too:
https://news.ycombinator.com/item?id=24805006
> Both the servers and the client running in your browser is written in Nim. The client uses Nim's JS backend and the server Nim's C backend. The two share code to ensure the game simulation is the same across both. Communication happens over websockets.
> It's been a lot of fun working on this and I cannot imagine another language being as flexible as Nim to make something like this possible.
Python seems to be a sensible choice. Others, that are already almost there, would be JS, Rust, Clojure, and I think people do similar things in Haskell as well.