Re: New stars! server clone proposal |
Sun, 30 September 2007 11:34 |
|
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
|
|
|