Source Languages

12/04/2008 00:16 plasma-hand#1
I want to know what programming languages can be used to make a source.List any languages that you know FOR SURE can be used for a source. My main question is can "Python" be used? I am already expecting an intelligent post from Infamous telling me all I need to know and more as usual.
12/04/2008 01:13 tao4229#2
You can code a server in just about any language that supports the basic functions and sockets. It may be slow/crashy/unsuccessful, but it can be done..
12/04/2008 01:18 plasma-hand#3
k thanks but im still looking for more opinions
12/04/2008 03:34 bob9877#4
um not sure all i know is c# and c++
12/04/2008 04:09 © Haydz#5
Yes python can be used to create a server. Infact its used by many official games you see out there today.
12/04/2008 04:11 bob9877#6
Quote:
Originally Posted by © Haydz View Post
Yes python can be used to create a server. Infact its used by many official games you see out there today.
I only know it being used for most FPS games dont recall i mmorpg coded in python
12/04/2008 04:33 © Haydz#7
Just the same concept really, people don't actually realise how easy CO is... all you really need to do is make a few packets and the client does the rest for you...
12/04/2008 05:13 unknownone#8
as tao said, any language can be used. Infact, you can use any language that is turing complete. Even stupid esoteric languages like brainfuck are capable, but of course, it'd be rediculous to try doing so in such language.

When you realise that it'd only be logical to code in a well-developed HLL, you still have a pretty broad choice, and python is a possibility. The trouble with a language like python though, is it's a dynamically type language, and the compiler will make assumptions about the variable types you're using etc unless you make it not do. You can't let it make such assumptions when you're working with a protocol that needs to be binary exact. It ends up becoming more effort that it would be in a statically typed language where you define everything strictly.

A good question to ask yourself is, can I implement different parts of a server in different languages? For instance, have a DLL written in C which handles serializing messages properly, and interface to it's functions from another language like Python. Another option would be to use IronPython, which can interface to other .Net languages like C#

The logical choice of HLL basically comes down to C, C++, Java, Pascal, VB, C#. Obvious reasons are there's lots of support and existing libraries for them all, and they're all strictly typed languages. For other parts of your project, you can use other languages that can interface to your main one.
12/04/2008 09:05 _Emme_#9
Try LUA, you cant make the entire game in it but its cool, 95% of Wow is coded in LUA. Although I recommend C++, if thats to hard move onto C#.
12/04/2008 18:30 Korvacs#10
I -believe- Inf wrote a server in python before moving to C# if not Inf then ultimation.
12/04/2008 19:37 tanelipe#11
AFAIK, inf has only done server in Delphi/VB/C#, well atleast he didn't make it before C# one, since he switched over from delphi. So I'd say it was Ulti
12/04/2008 19:55 Korvacs#12
Eh i might have been wrong about it all, i know somone has, i dunno who it was tho
12/04/2008 22:49 InfamousNoone#13
Quote:
Originally Posted by tanelipe View Post
AFAIK, inf has only done server in Delphi/VB/C#, well atleast he didn't make it before C# one, since he switched over from delphi. So I'd say it was Ulti
C++, never did Python.

But as stated a server can be written in any language, doesn't mean it should though.
12/05/2008 00:15 tao4229#14
Quote:
Originally Posted by InfamousNoone View Post
C++, never did Python.

But as stated a server can be written in any language, doesn't mean it should though.
PHP Server :rolleyes:
12/05/2008 01:28 plasma-hand#15
might try to do it sometime just to see how it works.imho python is one of the easier languages