Related articles |
---|
How to change the Java VM to support functional programming? dwight@pentasoft.com (1997-05-08) |
Re: How to change the Java VM to support functional programming? k3is@fundy.unbsj.ca (1997-05-08) |
Re: How to change the Java VM to support functional programming? eanders@u98.CS.Berkeley.EDU (1997-05-08) |
Re: How to change the Java VM to support functional programming? will@ccs.neu.edu (William D Clinger) (1997-05-12) |
From: | dwight@pentasoft.com (Dwight VandenBerghe) |
Newsgroups: | comp.lang.functional,comp.compilers |
Date: | 8 May 1997 01:01:45 -0400 |
Organization: | AccessOne |
Keywords: | Java, functional, question |
What changes are needed in the Java Virtual Machine to support
first-class functions, continuations, and so forth, so that I can
compile ML or Caml into JVM code? Please be as specific about this as
you can. If you don't know the exact details of the JVM, then just
tell me what facilities in general are needed for this. My current
level of knowledge is low: I'm thinking that what is needed for
continuations is something like what is needed to support co-routines,
i.e. a way of encapsulating the runtime stack in the middle of a
function's execution and then restarting it later. This can be done
by allocating blocks on the heap of what are essentially little
stacks, and then transferring them to the machine stack when needed.
Am I on the right track?
Dwight
--
Return to the
comp.compilers page.
Search the
comp.compilers archives again.