And all this raw performance comes for free with the very browser you're reading this in! It just starts running with an interpreter right away, compiles code in the background, and then switches over to it as soon as it's ready - all of which happens surprisingly quickly. Further, JavaScript JITs are also tuned for fast startup, so there's no need to sit around waiting for code to compile. JavaScript is not just 10% or 20% faster, but several times faster. This also dispels the myth that just because something is compiled to C++ it's fast. Modern JavaScript JIT (just-in-time) compilers are incredibly sophisticated and have been fine-tuned by entire teams of dedicated engineers at the biggest tech companies for years. Even if you pay for a GameMaker subscription and use YYC to compile to native code, it still comes out over 5x slower. The VM proves much slower - in fact, over 40x slower. JavaScript is far faster than GML on this test.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |