Archived

This topic is now archived and is closed to further replies.

TeraZen

Platform...?

Recommended Posts

Hi... I''m currently developing some MMRPG for fun. I was developing everything in Visual Basic, but using Winsock API for server is something hard and boring (Asynchronous events is something strange in windows... And database manipulation over VB is... yesh!). Caring about making my server multiplatform, I''ve decided to use something more flexible... then I just discovered cygwin (it is a linux emulator over win32), and just started my server as some perl script that will be able to run on every platform using perl! I would like to have your opinions about that... Do you think it''s safe to use cygwin this way? Is Perl reliable to make such a server? Thanks... - TeraZen

Share this post


Link to post
Share on other sites
For a MMORPG server, you need as much performance as you can get. For this, I''d use a compiled language such as C or Pascal. Both of these languages are OS-independent, and if you design it correctly, you will be able to keep the OS-dependent code in separate modules that will be easy to modify for each OS you plan to support.

Steve ''Sly'' Williams  Monkey Wrangler  Krome Studios
turbo game development with Borland compilers

Share this post


Link to post
Share on other sites
Well... do you think it will really reduce the efficiency of my code if it''s in perl? It''s only a beta, and if I got 50 players to play my game it''ll be good! I want to use MySQL for the game database, and it should be easier to use perl too...

quote:
Original post by Sly
For a MMORPG server, you need as much performance as you can get. For this, I''d use a compiled language such as C or Pascal. Both of these languages are OS-independent, and if you design it correctly, you will be able to keep the OS-dependent code in separate modules that will be easy to modify for each OS you plan to support.

Steve ''Sly'' Williams   Monkey Wrangler  Krome Studios
turbo game development with Borland compilers


Share this post


Link to post
Share on other sites
Is is text or graphics? I''m assuming text?

If it''s just text, you''re going to be ok =)

If you find you need more speed you can embed C or C++ routines into Perl, just visit www.perl.org and look up the documentation.

But if you''re using Perl to just provide a front end to your text game, then you''re set. It''s a great language for such a task and socket programming is pretty easy in Perl too.

Now, if your game is graphical, not sure how well Perl does with OpenGL or DirectX. There are some ActiveX modules to go directly to the ActiveX APIs (DirectX for example), but not sure how good the performance is.

R.

Share this post


Link to post
Share on other sites