Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: alvin <alvin@Iplink.net>
To: axp-list@redhat.com
Subject: Re: Wine on Alpha
Date: Tue, 13 Feb 2001 21:40:02 -0500	[thread overview]
Message-ID: <3A89F002.58F6B4F9@Iplink.net> (raw)
In-Reply-To: Pine.LNX.4.21.0102091608540.6145-100000@spawn.hockeyfiend.com


The idea of running a binary for a foreign architecture on a system is
not not new and is in use all over the place.
SCO and Linux support old xenix binaries.
Java runs in a virtual machine.

In the case of the x86 there is a built in emulator so there a
reasonable level of performance.

Java is targeted to a psudocode machine. nobody seems to have a problem
with emulating the java virtual machine. I don't think anybody would
suggest the you just recompile/rewrite Java applications because the
will run faster in native C code.

There are 2 general approaches to solving the problem of how to run a
binary on a foreign system.  Hardware emulation or recompilation.

Hardware emulation is in some ways the easiest and most reliable but
suffers greatly from performance issues. The X86 strange register
configuration and instruction set are difficult to emulate in a 64 bit
RISC CPU. Well at least efficiently.

Recompilation can be far more efficient since there is an opportunity to
evaluate the code and to optimize it so that it does not require a full
register emulation of the original hardware. This is a far from trivial
task and can in some cases become impossible if you have self modifying
code.
About 20 years ago I was involved in a research project to evaluate the
possibility of recompiling 8086 code to run on a mainframe class
computer system.
In other areas work appears to be underway to recompile java binaries so
that they can run natively instead of having to blindly run an
instruction code interpreter.

There are some systems that will do a combination of interpretation and
recompilation or incremental compilation. Transmeta's new CPU seems to
be one of these along with a number of Java runtimes.

FX!32 from what I have read is more of a recompilation system using this
technology it should be possible to take an x86 binary and convert it
into a binary that will run natively on the Alpha.

It would be interesting to see if we can beat up on Compaq to release
the FX!32 core technology into the Linux community. It would be
interesting to take the FX!32 core software and build a wine like
windows converter and being able to recompile X86 linux binaries would
be useful.



--
Alvin Starr                   ||   voice: (416)585-9971
Interlink Connectivity        ||   fax:   (416)585-9974
alvin@iplink.net              ||




  reply	other threads:[~2001-02-14  2:40 UTC|newest]

Thread overview: 43+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <051DFF3BBA73D3119A5800A0C95BD021A87888@barracuda.alpha-pro cessor.com>
2001-02-09 19:55 ` RE: Wine on Alpha Maurice Hilarius
2001-02-09 21:00   ` Ron Farrer
2001-02-09 21:39     ` Ross A Knepper
2001-02-10  0:45     ` W Bauske
2001-02-10  2:38       ` Ron Farrer
2001-02-10  3:49         ` Maurice Hilarius
2001-02-10  6:05           ` W Bauske
2001-02-11 15:04             ` Bizarre kernel messages John Groseclose
2001-02-09 21:12   ` RE: Wine on Alpha Christopher C. Chimelis
2001-02-14  2:40     ` alvin [this message]
2001-02-14  2:45       ` Maurice Hilarius
2001-02-14  2:52         ` alvin
2001-02-14  3:26       ` Michal Jaegermann
2001-02-14  4:43         ` jeff.sturm
2001-02-14 16:43           ` gcj (Wine on Alpha) Michal Jaegermann
2001-02-15  4:19             ` jeff.sturm
2001-02-15  6:41               ` Michal Jaegermann
2001-02-14 11:47         ` Wine on Alpha alvin
2001-02-15  6:25           ` Michal Jaegermann
2001-02-19 15:42 William H. Magill
  -- strict thread matches above, loose matches on Subject: below --
2001-02-19  0:04 William H. Magill
2001-02-19  1:52 ` Maurice Hilarius
2001-02-19 16:45   ` Jeff Sturm
2001-02-19 22:02     ` Maurice Hilarius
2001-02-09  9:01 Peter Bech
2001-02-09 20:35 ` Bob Taylor
2001-02-09 21:11 ` Jeff Sturm
2001-02-09 22:23   ` Michal Jaegermann
2001-02-08 20:22 William H. Magill
2001-02-08 18:04 Mike Foley
2001-02-08 18:29 ` alvin
2001-02-08 18:33 ` Jeff Sturm
2001-02-08 17:39 Hoover, Tony
2001-02-08 14:06 Peter Bech
2001-02-08 14:07 ` Ross A Knepper
2001-02-08 14:15   ` Rich Payne
2001-02-08 14:37     ` Niki W. Waibel
2001-02-08 17:14   ` alvin
2001-02-08 10:38     ` James Fowler
2001-02-08 17:36     ` Niki W. Waibel
2001-02-08 17:44       ` Ross A Knepper
2001-02-08 20:28       ` Maurice Hilarius
2001-02-08 21:04       ` Ingo T. Storm
2001-02-08 21:04       ` Ingo T. Storm
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox