Hi John. Can you describe the microVM and it's capabilities? Chances are it captures things at the wrong level (I have a longer response in mind, but I'll wait for you to describe it, in case I'm plain wrong)
What do you mean by "provides a GC"? Does it mean you just call malloc and you never have to call free? Generally speaking we don't suggest you translate pypy as a first step, but instead write tests (equivalent to what's in translator/c/test) and check aspects of translation one bit at a time. That said, dependency on rweakref even when disabled is a bug, can you post a full traceback? Cheers, fijal On Wed, Mar 18, 2015 at 2:01 AM, John Zhang <u5157...@uds.anu.edu.au> wrote: > Hi all, > I'm working on developing a MicroVM backend for PyPy. It's a virtual > machine under active research and development by my colleagues in ANU. It > aims to capture GC, threading and JIT in the virtual machine, and frees up > the burden of the language implementers. > > Since MicroVM provides GC, I need to remove GC from the PyPy > interpreter. As I was trying to compile it with the following command: > pypy $PYPY/rpython/bin/rpython \ > -O0 \ > --gc=none \ > --no-translation-rweakref \ > --annotate \ > --rtype \ > --translation-backendopt-none \ > $PYPY/pypy/goal/targetpypystandalone.py > It gives off an error during annotation stage, saying that it's not able > to find a module called '_rweakref'. > Does anyone know what the problem might be, and how one might go and > solve it? > > Appreciate greatly, > John Zhang > _______________________________________________ > pypy-dev mailing list > pypy-dev@python.org > https://mail.python.org/mailman/listinfo/pypy-dev _______________________________________________ pypy-dev mailing list pypy-dev@python.org https://mail.python.org/mailman/listinfo/pypy-dev