Q: Efficient portable pseudo-codes

timc@cs.su.oz.au (Tim Brabin Cooper)
Fri, 21 Apr 1995 16:05:50 GMT

          From comp.compilers

Related articles
Q: Efficient portable pseudo-codes timc@cs.su.oz.au (1995-04-21)
| List of all articles for this month |
Newsgroups: comp.compilers
From: timc@cs.su.oz.au (Tim Brabin Cooper)
Keywords: interpreter, question, comment
Organization: Compilers Central
Date: Fri, 21 Apr 1995 16:05:50 GMT

If you compile some high-level code down to pseudo-code, which
you then interpret, it'll be considerably slower than compiling
to straight native code. However, by choosing a good pseudo-code
instruction set, you can try to minimise this slow-down factor.
For example, you could create a single instruction for a common
idiom of instructions.


Has anyone done this, i.e. construct a pseudo-code instruction
set that can be interpreted very efficiently?
[Sure. Look at Smalltalk80, and at microcodable machines like the Burroughs
B1700. -John]
--


Post a followup to this message

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