Platform...?
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
Last of the Returners
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
Steve ''Sly'' Williams Monkey Wrangler Krome Studios
turbo game development with Borland compilers
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
Last of the Returners
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.
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.
Let''s say it''s text! I''m using client-side 2D graphics, such as sprites/tiles, so exchange between client and server is only text!
Thanks a lot
- TeraZen
Thanks a lot
- TeraZen
Last of the Returners
I always thought database manipulation in VB was rather easy using ADO
Dire Wolf
www.digitalfiends.com
Dire Wolf
www.digitalfiends.com
[email=direwolf@digitalfiends.com]Dire Wolf[/email]
www.digitalfiends.com
www.digitalfiends.com
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement