What are the main benefits of implementing a virtual machine as part of an application?

Posted by Marplesoft on Stack Overflow See other posts from Stack Overflow or by Marplesoft
Published on 2010-03-19T01:24:22Z Indexed on 2010/03/19 1:31 UTC
Read the original article Hit count: 265

Filed under:
|
|

Several databases I've been looking at recently implement a virtual machine internally to perform the respective data reads and writes. For an example, check out this article on SQLite's virtual machine they call the 'VDBE'. I'm curious as to what the benefits of such an architecture are. I would assume performance is one but why would a virtual machine like this run faster? In fact, it seems to be that this extra layer could cause it to run slower. So perhaps it's for security? Or portability? Anyway, just curious about this.

© Stack Overflow or respective owner

Related posts about c

    Related posts about c++