Live data from Hacker News

Q3VM – Lightweight, embeddable Quake III Interpreter/Virtual Machine

github.com

1–10 of 32 posts

Re: Q3VM – Lightweight, embeddable Quake III Interpreter/Virtual Machine

#5
post #3

What could be usecase for using this VM? Any idea why to use it in non-game app?

I don't understand either. If you have to write in C, and you have to compile, what's the advantage?

Speculation: 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)

Re: Q3VM – Lightweight, embeddable Quake III Interpreter/Virtual Machine

#9
post #3

What could be usecase for using this VM? Any idea why to use it in non-game app?

I don't understand either. If you have to write in C, and you have to compile, what's the advantage?

Source code of third party mods ?

Re: Q3VM – Lightweight, embeddable Quake III Interpreter/Virtual Machine

#10
post #3

What could be usecase for using this VM? Any idea why to use it in non-game app?

I don't understand either. If you have to write in C, and you have to compile, what's the advantage?

The 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.
Post reply on HN