News for hackers. Stuff that matters.
Re:Jagex launches HTML5/WebGL game mode for RuneScape (beta) by ladon86 on Wednesday April 17, 2013 @11:58AM (#5565160)
Congrats, porting a Java codebase of that size is no small undertaking.
Re:Jagex launches HTML5/WebGL game mode for RuneScape (beta) by reportingsjr on Wednesday April 17, 2013 @07:01PM (#5567888)
I think it was actually easier than that for them to do. From what I recall they actually have their own in house language that compiles to java. I can't remember what it was called off of the top of my head, but I would imagine it would be much easier to port a compiler than a codebase the size of runescape's.
Re:Jagex launches HTML5/WebGL game mode for RuneScape (beta) by Cyphusx on Wednesday April 17, 2013 @07:14PM (#5567951)
The content, e.g. quests, map, npcs, dialog, etc are all in proprietary formats (Runescript and various config formats) but this doesn't compile to Java - it's simply loaded by the engine.

The engine, server and client, is 100% hand coded in Java, and the client portion of that is what we manually 'ported' to Javascript. I say 'ported' in quotes, as though lots of the new code performs the same or similar job to the existing Java client (bugs and all!), its implementation is sometimes quite different to that of the original Java version.