Home World Forum
Stars! AutoHost web forums

Jump to Stars! AutoHost


 
 
Home » Stars! Clones, Extensions, Modding » FreeStars » New stars! server clone proposal
Re: New stars! server clone proposal Sun, 30 September 2007 14:43 Go to previous messageGo to previous message
m.a@stars is currently offline 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. Sherlock Whip

Plus, I also dislike dependencies, useful as they can be. Rolling Eyes


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. Teleport

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. Twisted Evil

I got a nice universe generation too. Cool



So many Stars, so few Missiles!

In space no one can hear you scheme! Deal

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Just a Clone?
Next Topic: Efficient Algorithm for Scanning planets/fleets/etc.
Goto Forum:
  


Current Time: Thu May 09 23:55:26 EDT 2024