Send News. Want a reply? Read this. More in the FAQ.   News Forum - All Forums - Mobile - PDA - RSS Headlines  RSS Headlines   Twitter  Twitter
Customize
User Settings
Styles:
LAN Parties
Upcoming one-time events:
San Diego, CA 08/21

Regularly scheduled events

Carmack on QVM

John Carmack updated his .plan with details on the QVM, or Quake Virtual Machine, that he has implemented into Quake III: Arena over this past week. It's a giant update, but here's an excerpt:

The basic setup is that I have a modified version of the lcc compiler that generates assembly files that are processed by a new tool "q3asm" into a .qvm file that can be interpreted by q3. You can still use normal dll's for debugging, then release interpreted code. You can release a binary dll if you need some native system services (some networking stuff, for example) or are doing very compute intensive work, but I strongly encourage everyone to try to use the virtual machine.

The interpreted code has two prime benefits: portability and security.User mods done with qvms will automatically work on mac, linux, and any other oddball ports that get released.

A qvm program cannot modify anything outside its private address space, and the "system calls" to the game strictly limit what can be touched. I was scared about the binary dll's in Q2, but rationalized it to myself that people running public servers should be aware of the dangers. With Q3 allowing client side programming, it just needs to be safe for everyone.

Email Digg Facebook Twitter   Share More    


 

  
   Current Headlines
No Man's Sky Launch & Workarounds
Nordic Games Becomes THQ Nordic
Renoir in November
Gatherings & Competitions
Morning Interviews
Morning Consolidation
Morning Metaverse
Morning Tech Bits
Morning Safety Dance
Game Reviews
Hardware Reviews
etc.
Out of the Blue
Goat Simulator Free Weekend
Deus Ex: Mankind Divided Specs and Preloads
Call of Duty: Black Ops III Descent Released
Spaceships Ahoy - Meridian: Squad 22
Mafia III Trailer
The Witcher III Game of the Year Edition Confirmed
Evening Patch Notes
  

 



footer

Blue's News logo