Byte code

I have the following problem(Project)

define a subset of c++ or java or c# or x or any combination of them
 justify that a subset is complete 
list goals and objectives for your selection
 descripe its syntax & semantics
 implement the above
 define AM & simulate AM on RM

infact i have never programmed such things, if any body can help
1- what do we mean by complete subset
2- how to programm the abstract machine(Like java virtual machine)
    (input(ByteCode"no matter how we get it")--->MyProgram--->result of  executing byte code), i dont know how the byte code seems or works, any body can help in hints , directions, ................. 


Answer this question

Byte code

  • Hpolanco

    what do we mean by complete subset

    A subset would be a group of items that define part of the entire set, so a complete subset of all the cars in the world would be all the Toyotas, or all the SUVs.  Half of the Toyotas would not be a complete subset.  So, for example, you may decide to do the file handling part of Java.

    how to programm the abstract machine(Like java virtual machine)

    Are you really required to write a JVM in VB That's a little redundant IMO.  Obviously, seeing a C++ is in the list, a virtual machine is not required, you need to write a parser that scans source code and then runs that source code, that is, works out what it wants to do, and does it in VB.

    Do you know any of these languages I'd pick C# if I were you, seeing as C# and VB.NET both use the .NET framework, so implimenting C# to VB would be trivial - the framework will support you 100%, on a direct call by call basis.


  • Byte code