Related articles |
---|
Implementation of true closures rohitlodha@gmail.com (Rohit Lodha) (2005-02-03) |
Re: Implementation of true closures anton@mips.complang.tuwien.ac.at (2005-02-06) |
Re: Implementation of true closures eliotm@pacbell.net (Eliot Miranda) (2005-02-06) |
Re: Implementation of true closures basile-news@starynkevitch.net (Basile Starynkevitch \[news\]) (2005-02-06) |
From: | "Rohit Lodha" <rohitlodha@gmail.com> |
Newsgroups: | comp.compilers |
Date: | 3 Feb 2005 22:45:04 -0500 |
Organization: | http://groups.google.com |
Keywords: | question, VM |
Posted-Date: | 03 Feb 2005 22:45:04 EST |
Ruby has true closures and I am trying to implement a Virtual Machine
for it. I have 2 options for effective implementation.
1) Using frame on the heap instead of the stack.
2) Using setjmp/longjmp and saving state across procedure calls.
If anybody has a previous experience on any of the above techiques or
perhaps many others, please share your experiences.
Rohit
Return to the
comp.compilers page.
Search the
comp.compilers archives again.