Originally Posted by
jigar
alot of people have been posting away on a thread thats got nothing to do with the topic about this. i thought this will be a decent thing to talk/discuss about.
what should be used for 525+ and why? ( C++,C# or Java)
post your ideas/experiences here >.<
Java client:
Code:
[keith@leak bench]$ time java -cp java fibo 45
1836311903
real 0m50.066s
user 0m49.780s
sys 0m0.170s
Java server:
Code:
[keith@leak bench]$ time java -server -cp java fibo 45
1836311903
real 0m33.842s
user 0m33.120s
sys 0m0.070s
C++ client
Code:
[keith@leak bench]$ time cpp/fibo-386 45
1836311903
real 0m50.625s
user 0m49.410s
sys 0m0.190s
C++ server
Code:
[keith@leak bench]$ time cpp/fibo 45
1836311903
real 0m44.042s
user 0m43.130s
sys 0m0.160s
benchmark from:
http://kano.net/javabench/runlog
Now which do u think is better?
Edit:
Originally Posted by
Aza
Well obviously, servers written in C++ are a LOT more stabler than servers written in java. (E.G, RuneScape) But, if no one releases a C++ server, than no one will start upon them. I can't even write a java based server from scratch, writing a C++ server from crash is going beyond my wildest dream(s).
idiot rs isnt programmed in c++
Runescript is a scripting language that Jagex uses to create content for RuneScape.
The game engine is not written in Runescript, but instead Java. The game engine reads other files, which is how most games and most big programs are written, so that someone can change, for example, a file called 'monster1.xyz' and then the main program reads that new file.
When Jagex updates the game, if it is a minor update, then it's just new map and new NPC lists, and an added Runescript file for what they say. The major updates are for the source code, which is usually for things like new areas in RuneScape, new skills, or for bug fixes.