Re: On-the-fly compilation from VM code to machine code

hoelzle@xenon.stanford.edu (Urs Hoelzle)
Wed, 14 Sep 1994 14:45:04 GMT

          From comp.compilers

Related articles
On-the-fly compilation from VM code to machine code joe@erix.ericsson.se (1994-08-24)
Re: On-the-fly compilation from VM code to machine code thomasl@groucho.csd.uu.se (1994-08-26)
Re: On-the-fly compilation from VM code to machine code danhicks@aol.com (1994-08-27)
Re: On-the-fly compilation from VM code to machine code hbaker@netcom.com (1994-09-07)
Re: On-the-fly compilation from VM code to machine code engler@AMSTERDAM.LCS.MIT.EDU (1994-09-07)
Re: On-the-fly compilation from VM code to machine code hoelzle@xenon.stanford.edu (1994-09-14)
Re: On-the-fly compilation from VM code to machine code danhicks@aol.com (1994-09-09)
Re: On-the-fly compilation from VM code to machine code pardo@cs.washington.edu (1994-09-16)
| List of all articles for this month |

Newsgroups: comp.compilers
From: hoelzle@xenon.stanford.edu (Urs Hoelzle)
Keywords: interpreter, optimize
Organization: Stanford University: Computer Science Department
References: 94-08-151 94-08-164 94-09-006
Date: Wed, 14 Sep 1994 14:45:04 GMT

hbaker@netcom.com (Henry G. Baker) writes:


>>[re compiling on the fly to RISC code]
>>The problem with this is that you can't optimize RISC code "on the fly".
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>>The efficiency of the code generated would be little better than what you
>>could do with an interpreter.


>On the contrary, compilation 'on-the-fly' offers optimizations not
>possible with static compilation. [...]
>Craig Chambers at the U. of Washington has been
>doing this for quite some time with SELF, and this tradition goes back at
>least to Peter Deutsch's Smalltalk compilers.


SELF's use of dynamic context has much increased since Craig's thesis;
the current system extensively uses dynamic type information to
optimize code. See e.g.


%0 Conference Proceedings
%A Hoelzle, Urs
%A Ungar, David
%D 1994
%T Optimizing Dynamically-Dispatched Calls with Run-Time Type Feedback
%B PLDI'94
%C Orlando, FL
%P 326-336
%8 June 1994


(http://self.stanford.edu has all the Self papers / theses.)


-Urs


----------------------------------------------------------------------------
Urs Hoelzle urs@cs.stanford.EDU
Computer Systems Laboratory, CIS 57, Stanford University, Stanford, CA 94305
--


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.