do = server side java ?

10/16/2017 18:13 vokovl#16
Quote:
Originally Posted by HimerOK View Post
About your booklove - what is the most serious project did you make?
ПИД регулятор на 4 пресса, для производства всяких электронных плат, если ты знаешь, что такое ПИД, и как реализовать это управление с RS232
10/16/2017 22:13 MuffinMario#17
Java is compared to C++ a clearer language and just creating a socket requires way more experience and effort in C++ than in Java, where it is simply done via 2/3 functions and 2 default library classes.
In C++ you either use the windows WINAPI, create it the very old C way or use external libraries (boost / SFML / etc.) which all require previous knowledge in managing them in an environment where there are a lot and lot of clients connected.
While it is obvious that C++ is faster (inline assembly can increase performance dramastically, but hell it is difficult to manage and its assembly, move instructions instead of copying, closer to hardware), I personally think a server that manages small calculation instructions and small responses, minimalistic worker threads but with a high quantity is still able to be quickly respond to the clients.
While C++ is almost hardware humping close to the system, and Java applications are run inside a virtual machine ([Only registered and activated users can see links. Click Here To Register...]), Java has advanced far and is unnoticeably slower against regular C++ code. Java does not need big managements and if you have [Only registered and activated users can see links. Click Here To Register...] it may be almost similar on performance, but with a lot less time and money spend on developers.
10/16/2017 23:31 oleg-19952008#18
Quote:
Originally Posted by vokovl View Post
ПИД регулятор на 4 пресса, для производства всяких электронных плат, если ты знаешь, что такое ПИД, и как реализовать это управление с RS232
теперь понятно че у тебя на столе делает кондер (походу 400 вольт), электронщик + прогер, жестко.
10/17/2017 01:47 »jD«#19
The game server is written in Java.

-jD
10/17/2017 05:36 Requi#20
Quote:
Originally Posted by oleg-19952008 View Post
not slow, but can wait for gigabytes of RAM, even with c# not so much RAM is eating. In addition, there is a python, node.js, D.
and when it comes to a multiplayer game, where online from 1000 players, it's smarter for me to still use C++ because Java will consume much more operational, and C++ will have more speed, especially when working with arrays.
Don't have the screenshot anymore, but I've managed to eat up 32GB of RAM on a friend of mines PC (which as 64GB) with a "simple" Battlefield 1 Cheat.

I fixed it pretty quickly, but still. That proves, that how much RAM a program uses depends on the developer and not the language being used.
10/17/2017 16:52 Sήøwy#21
Nice to see you, and yes the DO game server is made with Java.

Quote:
Originally Posted by »jD« View Post
The game server is written in Java.

-jD