1. Virtual procesor
- Posted by alojz.hancic at siol.net Mar 28, 2001
- 531 views
------=_NextPart_000_0007_01C0B7CC.E5E6E660 charset="iso-8859-1" Hi all I'v got an idea for program that woud change history of computers. Coud it bee posible to make a program that woud act like a procesor? So = you coud play Qake 3 on 486 for example. Iz is not necesary that the program woud bee made in EU. You think that I am crazy. I am yust asking. Lep Pozdrav Jan ------=_NextPart_000_0007_01C0B7CC.E5E6E660 charset="iso-8859-1" <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=3DContent-Type content=3D"text/html; = charset=3Diso-8859-1"> <META content=3D"MSHTML 5.50.4522.1800" name=3DGENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=3D#ffffff> change=20 history of computers.</FONT></DIV> <DIV><FONT face=3DArial size=3D2>Coud it bee posible to make a program = that woud act=20 like a procesor? So you coud play Qake 3 on 486 for = example.</FONT></DIV> <DIV><FONT face=3DArial size=3D2>Iz is not necesary that the program = woud bee made=20 in EU.</FONT></DIV> <DIV><FONT face=3DArial size=3D2>You think that I am crazy. I am yust=20 asking.</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>Lep Pozdrav</FONT></DIV> <DIV><FONT face=3DArial size=3D2>Jan</FONT></DIV> ------=_NextPart_000_0007_01C0B7CC.E5E6E660--
2. Re: Virtual procesor
- Posted by Michael Sabal <mikes at notations.com> Mar 28, 2001
- 478 views
This is what a virtual machine is more or less. Java's is the most = famous, but there have been a couple virtual machines designed in Euphoria = as well. A virtual machine has the advantage of being able to write programs that = are 100% portable without modification to any platform that runs the VM = (virtual machine). It also allows for functional enhancements over what = the host processor may be capable of (byte codes for string math, for = example). The main disadvantage of VMs is their speed. A host processor must spend = several more cycles processing an instruction through the VM than if it = handled the same instruction directly. While it's theoretically possible = to write a VM that would allow you to play MMX games on a 486 or other = platform, the slowness of the VM in performing each MMX instruction on = such a platform would make it not worth playing. HTH, Michael J. Sabal >>> alojz.hancic at siol.net 03/28/01 02:25PM >>> I'v got an idea for program that woud change history of computers. Coud it bee posible to make a program that woud act like a procesor? So = you coud play Qake 3 on 486 for example. Iz is not necesary that the program woud bee made in EU. You think that I am crazy. I am yust asking.
3. Re: Virtual procesor
- Posted by "Thomas Parslow (PatRat)" <patrat at rat-software.com> Mar 28, 2001
- 465 views
> Hi all > > I'v got an idea for program that woud change history of computers. > Coud it bee posible to make a program that woud act like a procesor? So you > coud play Qake 3 on 486 for example. > Iz is not necesary that the program woud bee made in EU. > You think that I am crazy. I am yust asking. > > > > Lep Pozdrav > Jan You mean a virtual machine? Been done, many times (that's how JAVA works) :) You can't make your computer faster by using a virtual machine, the virtual machine still has to run on the host processor, so sorry, your just gonna have to get a better computer to play quake 3 ;) Thomas Parslow (PatRat) ICQ #:26359483 Rat Software http://www.rat-software.com/ Please leave quoted text in place when replying
4. Re: Virtual procesor
- Posted by Mike The Spike <mtsreborn at yahoo.com> Mar 28, 2001
- 466 views
Uh... I proposed to code that a couple of days ago, IF people showed support... No one did, so... But yeah it's possible, Q3 would run like a snail on a 486, though... But it's doable... Mike The Spike --- alojz.hancic at siol.net wrote: > > > > > Hi all > > I'v got an idea for program that woud change history > of computers. > Coud it bee posible to make a program that woud act > like a procesor? So you coud play Qake 3 on 486 for > example. > Iz is not necesary that the program woud bee made in > EU. > You think that I am crazy. I am yust asking. > > > > Lep Pozdrav > Jan > > >
5. Re: Virtual procesor
- Posted by David Cuny <euphoria_coder at HOTMAIL.COM> Mar 28, 2001
- 464 views
Thomas Parslow wrote: >You can't make your computer faster by using a virtual machine I recall that, in certain circumstances, the virtual machine code actually runs faster than native. Typically, there's some clever optimizer that's looking at the instruction blocks, and figuring out optimal branching and other stuff that's beyond my comprehension. -- David Cuny
6. Re: Virtual procesor
- Posted by Mike The Spike <mtsreborn at yahoo.com> Mar 28, 2001
- 466 views
Hmmm.. Nah... That's impossible... Even with the best of optimisations, it will always run slower... Especially in Euphoria... Mike The Spike --- David Cuny <euphoria_coder at HOTMAIL.COM> wrote: > > > > > > Thomas Parslow wrote: > > >You can't make your computer faster by using a > virtual machine > > I recall that, in certain circumstances, the virtual > machine code actually > runs faster than native. Typically, there's some > clever optimizer that's > looking at the instruction blocks, and figuring out > optimal branching and > other stuff that's beyond my comprehension. > > -- David Cuny > > > > >
7. Re: Virtual procesor
- Posted by David Cuny <euphoria_coder at HOTMAIL.COM> Mar 28, 2001
- 467 views
MTS wrote: >Even with the best of optimisations, [a virtual machine] will always >run slower... Take a look at HP's Dynamo: The short version: "Dynamo creates straight line code from what may have been intricate control flow, and Dynamo can optimize fragments across boundaries that a static compiler cannot." -- David Cuny
8. Re: Virtual procesor
- Posted by alojz.hancic at siol.net Mar 29, 2001
- 478 views
Hi all I think you miss understanded me. I was traying to ask you if it is posible to write a program that woud bee like a procesor so you coud swich off the real procesor and use the virtual one. Lep Pozdrav Jan
9. Re: Virtual procesor
- Posted by jzeitlin at cyburban.com Mar 30, 2001
- 514 views
- Last edited Mar 31, 2001
On Wed, 28 Mar 2001 17:07:16 -0800, David Cuny <euphoria_coder at HOTMAIL.COM> wrote: >Thomas Parslow wrote: >>You can't make your computer faster by using a virtual machine >I recall that, in certain circumstances, the virtual machine code actually >runs faster than native. Typically, there's some clever optimizer that's >looking at the instruction blocks, and figuring out optimal branching and >other stuff that's beyond my comprehension. I've heard the same thing - but I also seem to recall that this can only happen in cases where you're 'emulating' a slow processor on a fast one, which is just the opposite of what the person who started this thread wants to do. -- Jeff Zeitlin jzeitlin at cyburban.com (ILink: news without the abuse. Ask via email.)
10. Re: Virtual procesor
- Posted by Mike The Spike <mtsreborn at yahoo.com> Mar 30, 2001
- 503 views
- Last edited Mar 31, 2001
Well, one thing is for sure... If what David says was true, then Intel is in the wrong bussiness and should be coding virtual Pentium IV's that run on 486s instead of spending a decade engineering faster chips... See what I mean? You can't just do post-link optimisations on machine code, interpret it, and expect it to run anywhere near the speed of non-interpreted unoptimised code being executed by the processor. A virtual machine is fun for many things. For one, imagine a 'pcall()' for Euphoria, wich interprets each machine code. That way, with future support for non-intel platforms, your machine code still works. And that day might be here sooner than you expect... Mike The Spike --- jzeitlin at cyburban.com wrote: > > > > > > > > > > On Wed, 28 Mar 2001 17:07:16 -0800, David Cuny > <euphoria_coder at HOTMAIL.COM> > wrote: > > >Thomas Parslow wrote: > > >>You can't make your computer faster by using a > virtual machine > > >I recall that, in certain circumstances, the > virtual machine code actually > >runs faster than native. Typically, there's some > clever optimizer that's > >looking at the instruction blocks, and figuring out > optimal branching and > >other stuff that's beyond my comprehension. > > I've heard the same thing - but I also seem to > recall that this can only > happen in cases where you're 'emulating' a slow > processor on a fast one, > which is just the opposite of what the person who > started this thread wants > to do. > > -- > Jeff Zeitlin > jzeitlin at cyburban.com > (ILink: news without the abuse. Ask via email.) > > > > > > > > > >