Live data from Hacker News

Q3VM – Lightweight, embeddable Quake III Interpreter/Virtual Machine

github.com

31–32 of 32 posts

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

#31
post #3

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

Hi, author here. It is indeed a niche thing. But there are some use cases: * 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 * Sandb…

> … strong typing … C …

This is incorrect. Wikipedia specifies C’s typing discipline as “static, weak, manifest, nominal”, which isn’t great, but is at least in the right ballpark. “Strong” and “weak” are unhelpfully overloaded words.

http://blogs.perl.org/users/ovid/2010/08/what-to-know-before...

Post reply on HN