Re: NoSolution Virtual Machine

new topic     » goto parent     » topic index » view thread      » older message » newer message

There's some advantage to being able to do this in most any language,
 however Euphoria isn't as resource hungry as some other languages.
   Of course C/C++ already implements some of these concepts , as most
 any language must. Finding the balance between a multi-platform language
 and concise low level code that has value for a variety of applications
 is always a challenge.
   The C/C++ standards take so long to eventuate , while in the meantime,
 the capabilities of a particular minicomputer aren't being utilized
 effectively.
  Something like a standard C/C++ that lets you construct further
 assembly level functions , that are called like most any other is one
 possibility. This could be useful for Euphoria to , one simple example
 augmenting sequence functions so that extended arithmetic etc , might
 be performed.  A sequence ( of arbitrary length ) , that might be
 divided by 2 [ or multiplied by 2 ], with inter-bit/byte/word/sequence carry
 being a particular example.



On 2000-08-12 EUPHORIA at LISTSERV.MUOHIO.EDU said:
 EU>As the subject suggests.. i'm currently in development of a "virtual
 EU>machine".
 EU>Not like the JVM at all however, you write assembly code for the
 EU>virtual machine and then assemble it and run it thru the virtual
 EU>machine.
 EU>The assemble code that can be assembled is pretty much like the
 EU>Intel implementation of the language.
 EU>Ie:
 EU>; print 'Hello World' to the screen
 EU>msgstr db 'Hello World!',13,10,0
 EU>mov ah, 0             ; File and Device I/O function 0h
 EU>mov al, 1             ; print to standard output
 EU>mov eax, 0            ; print a null-terminated string instead of a
 EU>; fixed amount of bytes.
 EU>mov ebx, near msgstr  ; memory address of data to write
 EU>int 1                 ; call the interuppt
 EU>prints 'Hello World' to the console on standard output.
 EU>Knowing how difficult assembly is to grasp i will try my best to
 EU>provide a documentation or at least a tutorial.
 EU>My goals in completing the Virtual machine are as follows:
 EU>1) to finally complete one of the many failed applications i've
 EU>tried to develop (gameboy emulator, interpretor, etc)
 EU>2) to see where i stand as far as skill goes
 EU>3) to provide a freeware developement enviroment, provided if i
 EU>write a high level language compiler for the virtual machine.
 EU>The first binary distribution will definitely be a DOS32 program,
 EU>however i'm split between writing it in C++,Euphoria or Pascal.
 EU>Any input would be greatly appriciated!
 EU>Ian.
 EU>____________________________________________________________________
 EU>____ Get Your Private, Free E-mail from MSN Hotmail at http://www.
 EU>hotmail.com

Net-Tamer V 1.11 - Test Drive

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu