[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: What's the spec for emacs lisp virtual machine ?
From: |
Barry Margolin |
Subject: |
Re: What's the spec for emacs lisp virtual machine ? |
Date: |
Wed, 08 Dec 2010 15:22:19 -0000 |
User-agent: |
MT-NewsWatcher/3.5.3b3 (Intel Mac OS X) |
In article
<80cc90dc-d66b-4d93-9ff9-dccacec01770@c10g2000yqi.googlegroups.com>,
Fren Zeee <frenzeee@gmail.com> wrote:
> On Jul 29, 8:51 pm, mdj <mdj....@gmail.com> wrote:
> > Thirdly, it is relatively straightforward to implement a portable
> > bytecode interpreter in C that will then compile on any architecture
> > for which one has a C compiler. This is a great deal less work than
> > developing a 'to-machine-code' compiler for every architecture out
> > there.
>
> Why is it less than porting the C compiler ? How would it be written ?
> assembler ?
It isn't less, it's very similar. But since someone has already done
the C compiler, you don't need to do it at all. You can simply write a
byte-code interpreter once, and it will run on all the machines that
have C compilers.
--
Barry Margolin, barmar@alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***
*** PLEASE don't copy me on replies, I'll read them in the group ***
- Re: What's the spec for emacs lisp virtual machine ?, (continued)
- Re: What's the spec for emacs lisp virtual machine ?, Fren Zeee, 2010/12/08
- Re: What's the spec for emacs lisp virtual machine ?, Fren Zeee, 2010/12/08
- Re: What's the spec for emacs lisp virtual machine ?, Pascal J. Bourguignon, 2010/12/08
- Re: What's the spec for emacs lisp virtual machine ?, Barry Margolin, 2010/12/08
- Re: What's the spec for emacs lisp virtual machine ?, Emmy Noether, 2010/12/09
- Re: What's the spec for emacs lisp virtual machine ?, Pascal J. Bourguignon, 2010/12/08
Re: What's the spec for emacs lisp virtual machine ?, mdj, 2010/12/08