Re: New stars! server clone proposal |
Sun, 30 September 2007 14:43 |
|
m.a@stars | | Commander | Messages: 2765
Registered: October 2004 Location: Third star to the left | |
|
yartrebo wrote on Sun, 30 September 2007 17:34 | C using only standard C libraries (stdio.h, stdlib.h, string.h according to my plans) is extremely portable. Any computer with a C compiler and a modicum of resources (32-bit CPU and a few MB of RAM) can compile and run it. While Java is portable, I am far less skilled with it and it is proprietary, so I am disinclined to use it.
|
Heh. My own thoughts, almost literally.
Plus, I also dislike dependencies, useful as they can be.
Quote: | Multiple threads are useless for a stars! server or client, as they do not connect to the internet or do more than one thing at once. A single threaded program is the way to go.
PS: C can use multiple threads/processes, though this will limit portability (DOS is out of the question, Linux works without issues, not sure about MS Windows).
|
I think a serious server, or at least one running a big galaxy, could get some benefit from the various independent calculations that can be carried on more-or-less simultaneously.
I've been thinking about a stand-alone C-based server for some time, but never got much farther than a rough specification of all the myriad parts/gears it would need for decent Stars! emulation, as one of my design goals would be a certain amount of moddability.
I got a nice universe generation too.
So many Stars, so few Missiles!
In space no one can hear you scheme! Report message to a moderator
|
|
|