If you are writing ineffective code switching

  • Java basically runs as an in between from an interpreted language and a compiled one. And osrs gold since each instance of it is virtualized in a container, there is a great deal of overhead with Java. I believe that you'd be surprised how successful would be for RuneScape's server side. Many MMOs run way more intensive systems but since they are built on better languages that they run much smoother. The C languages may be constructed to scale to hardware much better. Java has multithreading ability that is inferior and access to hardware acceleration or extra RAM isn't efficient.

    I could be wrong here, as my experience with Java is restricted, but from what I understand about the terminology it isn't efficient in day for most tasks. Yes, it has more overhead compared to run programs made in different languages. No, it shouldn't be the bottleneck and under 2000 players. Shifting into another language is a bandaid solution to a much more insidous difficulty: for decades Jagex has encouraged and employed QA techs into"programming" functions, instead of hiring qualified software engineers.

    The outcome is that you get a metric fuckton of bad code, at a codebase that's decades old, scripted in an intermediate language (runescript) which is subsequently interpreted and conducted by an already interpreted language (java), and handled by a couple of real Java developers. To be fair, with C++ they would have to redo their whole code base and write everything again, which will hopefully alleviate the very first issue. I doubt they'd use some program to interpret the Java code to C++ without reviewing it, right? Right?

    I would imagine a RuneScript interpreter could be responsive if composed in well. It does fix the issue but it might help. The capability to scale to threads would vastly help. I doubt these RS servers are running on i9 9900Ks, however likely rather Xeon or even Epyc systems with low clock speeds and tons of cores, and they simply just run many worlds on a single server. If every server execution scaled better, they would make much better use of their hardware. That said, good luck making the RuneScript interpreter multithreaded.

    If you are writing ineffective code switching to C++ won't magically cause you to buy rs gold to write code. It's very rare that the language that a tool is written in is the largest cause of slowdown. Frankly, IME, most of the"speedup" projects get from shifting languages is simply from the lazerfocus introduced from the rewrite. This causes those"why is that composed like this?" Questions actually being followed-up on because it has to be rewritten anyway, why don't you fix it. All this completely ignores the quantity of risk that accompanies rewriting a job. I can only imagine the amount of dev-hours consumed (along with the disappearance of gamers since the already dwindling update list perishes completely).