Theres an idea called reasonable programming, and it includes picking the best language for the desired results.
Java definitely would NOT be a good idea for samp. Java definitely isnt a good idea for any large-scale server at all.
First of all, samp uses raknet as network interface to directly access GTAs memory. Thats the only way, as GTA itself doesnt offer any interfaces for developers. Memory hacking is the one and only idea for creating multiplayer mods for games without any kind of multiplayer function.
Java runs in a virtual machine. This basically makes it impossible to access anything outside the virtual machine. You could use native interfaces though, but this would mean using C code, it wouldnt be java then, and extremely slow.
Also, Java is slow. Extremely slow. Imagine running a OS in virtualbox. Even though your PC is fast as hell, the virtual OS will suck asses. Okay, its not that bad in Java, as the VM is pretty good so far, but this is the general idea.
So, what would Samp look like when it was Java?
1. It wouldnt exist at all.
2. Servers wouldnt take more than 50 or 100 players.
3. General ping and serverlag would increase significantly.
4. PAWN (or any "virtual machine in a virtual machine" scripting interface) would be even slower.
5. It would probably use Java for gamemodes and plugins though.
And thats an INreasonable choice of the language. A c-type is a much wiser choice, cause as you see it has some clear advantages compared to java. More people might be able to create gamemodes though, but one does not simply mess software up just to make it easier to use for beginners and lazies. NO reasonable programmer would do that (yep, im saying that notch is an inreasonable programmer)
Also:
Quote:
Originally Posted by ACI
Did you know that he is the 3RD member to register on this forum?
|
Did you know that this wasnt the official forum since the very first day? I can remember at least one forum change a few years ago, and this definitely messed up the IDs enough. You CAN say he was the 3rd guy who registered an account on this forum, as he was on charge when the forum changed, but this means nothing when considering there were several years of samp BEFORE this forum started counting its IDs.