3 ms·
I think this is the right approach. Use one language to rule them all, integrate the whole UI related stack into it, from backend to frontend, and drive the int
by dgb23 6y ago
I think this is the right approach. Use one language to rule them all, integrate the whole UI related stack into it, from backend to frontend, and drive the integration by well defined protocols (data/types).
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.
- boogies 6y agoI think the Nim devs want it to work for this too: https://news.ycombinator.com/item?id=24805006 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.