Thread: Implementing a virtual machine

  1. #1
    Supermassive black hole cboard_member's Avatar
    Join Date
    Jul 2005
    Posts
    1,709

    Implementing a virtual machine

    I've decided the scripting engine in my game engine is going to use a VM. Compiled to bytecode and all that jazz; I have a couple of good ideas but I'm always looking for articles on it.

    I've found one or two mainly because they were first listed on GD or google but was wondering if anyone else has some articles bookmarked that I might not know about.

    Any other tips would be greatly appreciated.

    Bai, I've made a date with my bed, a pen and a wad of paper...
    Good class architecture is not like a Swiss Army Knife; it should be more like a well balanced throwing knife.

    - Mike McShaffry

  2. #2
    Dump Truck Internet valis's Avatar
    Join Date
    Jul 2005
    Posts
    357
    http://java.sun.com/docs/books/vmspe...tions.doc.html

    edit:
    maybe kind of obvious to look at something like that, but I think it's a good example with a lot of good basic ideas and concepts.
    Last edited by valis; 07-15-2006 at 04:42 PM.

  3. #3
    Supermassive black hole cboard_member's Avatar
    Join Date
    Jul 2005
    Posts
    1,709
    Thankies.
    Any more, people?
    Good class architecture is not like a Swiss Army Knife; it should be more like a well balanced throwing knife.

    - Mike McShaffry

  4. #4
    Devil's Advocate SlyMaelstrom's Avatar
    Join Date
    May 2004
    Location
    Out of scope
    Posts
    4,079
    Quote Originally Posted by ahluka
    Bai, I've made a date with my bed, a pen and a wad of paper...
    That sounds bad.
    Sent from my iPad®

  5. #5
    Supermassive black hole cboard_member's Avatar
    Join Date
    Jul 2005
    Posts
    1,709
    It was. I didn't come back with much, just a few doodles and some sketchy notes / ideas
    Google rox.
    Good class architecture is not like a Swiss Army Knife; it should be more like a well balanced throwing knife.

    - Mike McShaffry

  6. #6
    ---
    Join Date
    May 2004
    Posts
    1,379
    Quote Originally Posted by SlyMaelstrom
    That sounds bad.
    lol I thought the same thing.

  7. #7
    Registered User Frobozz's Avatar
    Join Date
    Dec 2002
    Posts
    546
    Could also look over this one: http://www.gnelson.demon.co.uk/zspec/index.html

    Or you could try throwing together a simple one and see what happens.

  8. #8
    Supermassive black hole cboard_member's Avatar
    Join Date
    Jul 2005
    Posts
    1,709
    Hmm that looks quite interesting - thanks Fro.
    Good class architecture is not like a Swiss Army Knife; it should be more like a well balanced throwing knife.

    - Mike McShaffry

  9. #9
    Devil's Advocate SlyMaelstrom's Avatar
    Join Date
    May 2004
    Location
    Out of scope
    Posts
    4,079
    Quote Originally Posted by ahluka
    It was. I didn't come back with much, just a few doodles and some sketchy notes / ideas
    Google rox.
    Yes, I've found the internet provides much better material for that sort of thing than hand drawn work... Inuendo aside, I really have nothing to add to this topic, so I'll give up, now.
    Sent from my iPad®

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Virtual Box
    By ssharish2005 in forum Tech Board
    Replies: 3
    Last Post: 02-12-2009, 05:08 AM
  2. Replies: 48
    Last Post: 09-26-2008, 03:45 AM
  3. Creating a Virtual Machine
    By Chronom1 in forum C++ Programming
    Replies: 7
    Last Post: 10-05-2003, 11:11 AM
  4. C++ XML Class
    By edwardtisdale in forum C++ Programming
    Replies: 0
    Last Post: 12-10-2001, 11:14 PM
  5. Exporting Object Hierarchies from a DLL
    By andy668 in forum C++ Programming
    Replies: 0
    Last Post: 10-20-2001, 01:26 PM