View Single Post
Old 23.03.2006, 05:01   #16
Sindol
Архивный участник
 
Join Date: Oct 2005
Posts: 21
Default

Both are languages designed for concurrency, fault tolerance, and microthreading/fibres (less resource intensive version of threads basically). Both languages are designed for situations where large amount of concurrent connections come in to play.

Eve Online is designed with Stackless Python and low level C and has no problems supporting 20,000 - 30,000 connections, and the Erlang Apache web server clone can handle 80,000 connections compared to Apache's 4,000 on the same hardware.

Considering that most MMORPG servers are nothing more then glorified communication message pumps for large amounts of TCP or UDP connections it would make sense to start designing them in programming languages developed specifically for communication applications.

The days of stack dependant languages is slowly dwindling, most of the languages were designed when hardware required complex ways of managing memory since memory was so sparce, but the average desktop has more memory then a high end server had 6 years ago, and average out of the box servers now have more memory and processing power then a super computer 10 years ago.

Honestly I say screw backward compatibility, developers, especially game developers should spend every day pushing hardware to the edge and beyond.

If you want an app designed to be universal, use a virtually managed language like Java, you want high speed productivity, use C#. You want high performance, use a language designed for it.

I'm a big fan of the performance arguments about C++ vs. C#, ect ... C# was designed to be an easier managed version of C++, but in that same effect, C++ was just designed to be an easier managed version of ASM. If one person is gonna bitch at someone to use C++ because its marginally faster then C#, that same person should just use ASM and low level C, since that's marginally faster then C++. I mean sure, C++ is much easier to use then ASM, but C# is easier to use then C++.

In the end, it comes down to the programmer's skill for performance more then the language, its possible for me to design an app in C# thats 100 times faster then a similar app in C++ if I do it right.

Another aspect to look at is production output. If I can design an emu in 3 months in C#, that lets say for example takes 10 months in C++, that means my server has 7 months of public testing more then the C++ emu, which means my C# emu will be more stable, more robust, and more feature rich then the alpha C++ emu.

Well, whoops, wrote way more then I wanted to, congrats for making it this far.
Sindol is offline