Hello, I did something similar, but my engine is pure clojure (no IO). https://medium.com/@donbonifacio/running-clojure-code-on-javascript-e1f37071e69e
Best regards On Thu, Aug 6, 2015 at 8:01 AM, Simon Brooke <still...@googlemail.com> wrote: > Hi > > I have an existing Clojure program which is intended for use in classroom > situations to teach kids about ecology and computer science. You can see it > in action here <http://www.journeyman.cc/microworld/> (but please don't > use any but the basic map, since several users using bigger maps at once > breaks my poor server); source code is here: engine > <https://github.com/simon-brooke/mw-engine>, parser > <https://github.com/simon-brooke/mw-parser>, user interface > <https://github.com/simon-brooke/mw-ui>. > > The problem with it is that it runs server side, and is fairly compute > intensive - especially if many users connect at once. Furthermore, one user > with a large map or a really complex rule can kill the performance of the > server for everyone else. If I could move the engine client side it would > enable one server to easily support a full classroom of users, which would > make it far more practical; if I could move the parser client side as well > one server could support very large numbers of users. > > So I'm looking for something which gives me a 'how-to' on porting the code > across. Any recommendations? > > Thanks > > Simon > > -- > You received this message because you are subscribed to the Google > Groups "Clojure" group. > To post to this group, send email to clojure@googlegroups.com > Note that posts from new members are moderated - please be patient with > your first post. > To unsubscribe from this group, send email to > clojure+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/clojure?hl=en > --- > You received this message because you are subscribed to the Google Groups > "Clojure" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to clojure+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- Pedro Santos Home - http://psantos.zi-yu.com -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.