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 11:34 Go to previous messageGo to previous message
yartrebo is currently offline yartrebo

 
Petty Officer 3rd Class

Messages: 43
Registered: July 2006
Location: North America
Quote:

I wonder if Java could be a more interesting platform, at least for portability, and perhaps even for multithreading and all that.

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.

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

Quote:

Also, the BattleBoard looks like one tricky piece of code.

Most certainly the hardest piece of code, though I feel up to the challenge.


[Updated on: Sun, 30 September 2007 11:36]

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:44:43 EDT 2024