erlang?
I want to to a cleint/server arch again probably some thing like an rts. I am wondering if i can do the server in erlang and client with python + panda3d. I would leave the server up for judging so there would be no need to run the erlang server. Do you think people could live with that or does the entire game has to be runnable from the package without outside control?(log in to comment)
Comments
I've been doing a bunch of Twisted lately, and it's quite nice. I've been meaning to look into doing networking with greenlets.
Also, erlang server sounds like it might be a cool idea, will be interested to see what you do ;)
- its functional so its very easy to test same input always = same output - no "state"
- "a program" can execute on multiple computers at once without extra thought
- programs consists of 1000's "threads" so the program domain is not modeled as objects but as threads
- program can reload all hot code without stopping and its build into the language.
- its great for networking
I'm OK with Javascript because you can't script a web browser with Python. I'm OK with C extensions because sometimes you just can't get Python running fast enough. I'm not sure I'm OK with erlang "just because".
Just thinking out loud.
1. Server code should be included. While I'll admit it's nice to have a main server to use, I think a person should have the option of running their own if so inclined. It's quite within the spirit of including the source and the entire game.
2. Server code contains little or no game logic. If it's just a conduit acting as network glue in a sense, then I think that's cool. I think that the purpose of pyweek is to expand the collection of available python game code and if half the game is in erlang then what's the point.
richard on 2008/08/27 00:24:
I guess it's up to you -- you might get more "DNW" results, depending on the server availability. I have no objection.Writing the server in erlang seems a little odd for a Python challenge though. What's the thinking there?