4 ms·
I don't understand either. If you have to write in C, and you have to compile, what's the advantage?
by Epskampie 8y ago
I don't understand either. If you have to write in C, and you have to compile, what's the advantage?
- johannes1234321 8y agoSpeculation: Assuming the VM has no bugs it is sandboxed. The code run can't access the file system or freely allocate memory. Thus code from less trusted sources can be executed. (Another comment indicates that the VM has a history of bugs, so it might not be advisable, but I have no experience with it)
- deleted 8y ago[deleted]
- farnulfo 8y agoSource code of third party mods ?
- monocasa 8y agoYou don't really get source code. You only get bytecode that's harder to reverse than a fully compiled binary if only for the lack of tooling.
- ndepoel 8y agoThe main advantage for Quake 3 was that the server, client and UI code could be compiled into platform-independent bytecode modules. This was mostly a boon to mod creators, who had to build only one version of their mod that would work on all Windows, Mac and Linux systems alike.
- hinkley 8y agoI thought I heard this was also a boon for the scenario creators and level builders working alongside the graphics engineeers. They get something a little less hairy and volatile to work with, and execution speed isn’t that critical because you’re only making hundreds or thousands of decisions per second.
- Jyaif 8y agoYou compile it once and it runs on all architectures (including ones that did not exist at the time).
- jamesu 8y agoThese days, there isn't much advantage. You'd be much better off using a well supported third party vm implementation like coreclr for instance.