+ 8
Will languages that use VMs ever be used in PC and console game development?
Or will they always be beaten by those that compile directly into native machine code?
3 Respuestas
+ 12
I just wanna suggest C/C/C#😂 because I just know them😂for PC 😁
+ 11
If you need to travel a mere 100m to your destination, using a car or a rocket doesn't make a whole lot of difference - The car might even arrive faster for obvious reasons. It's a different situation if you're travelling to the moon.
Likewise, for simple games, there's nothing much to "beat" when the margins are mostly within the range of microseconds. In scenarios where performance isn't that much of a big deal, some languages which are claimed to be slower might offer better ease-of-development. Taking Minecraft for example, I imagine it would be significantly harder to create mods for if MC was written in C/C++ instead of Java. Currently most of your work would be to unpack the .jar files, replace the assets and then repack it. If MC was compiled as a binary, decompiling it would be a heck of work.
+ 3
Coding natively to the OS will always be faster than coding to the VM just as skipping the OS and coding directly to the hardware (as it was in DOS days) will always be faster than coding to the OS ( note: this is no longer practical due to the diversity of hardware in the market)