Q3VM – Lightweight, embeddable Quake III Interpreter/Virtual Machine
11–20 of 32 posts
Re: Q3VM – Lightweight, embeddable Quake III Interpreter/Virtual Machine
#12What could be usecase for using this VM? Any idea why to use it in non-game app?
Also, how was it used in Quake3?
The link in the sibling post has most everything you'd ever want to know about it.
Re: Q3VM – Lightweight, embeddable Quake III Interpreter/Virtual Machine
#13It's not clear from the documentation, is this forked out of the Q3 codebase or based on the LCC book or just totally independently created?
Re: Q3VM – Lightweight, embeddable Quake III Interpreter/Virtual Machine
#14Re: Q3VM – Lightweight, embeddable Quake III Interpreter/Virtual Machine
#15Re: Q3VM – Lightweight, embeddable Quake III Interpreter/Virtual Machine
#16It's not clear from the documentation, is this forked out of the Q3 codebase or based on the LCC book or just totally independently created?
Re: Q3VM – Lightweight, embeddable Quake III Interpreter/Virtual Machine
#17Earlier quoted context omitted.
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
#18What 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?
Re: Q3VM – Lightweight, embeddable Quake III Interpreter/Virtual Machine
#19What could be usecase for using this VM? Any idea why to use it in non-game app?
* Sandbox for code you don't fully trust (e.g. download the bytecode from a web server)
* Mods for small hobby game engines
* There are many virtual machines, but not many are so small, with strong typing and no garbage collector
* Learn about virtual machines in general, but directly have a C compiler available for the virtual machine
* Sandbox for embedded applications, e.g. plug-ins for IoT applications on microcontrollers (bounded CPU time, bounded memory area, restrict access to peripheral devices)
* There is also a historical value: learn about the Quake III engine
Re: Q3VM – Lightweight, embeddable Quake III Interpreter/Virtual Machine
#20It's not clear from the documentation, is this forked out of the Q3 codebase or based on the LCC book or just totally independently created?