Maciej, Thanks for the idea. I played with the sandboxed version and it looks like it has potential. I searched the web for a C/C++ version of the controller but with no luck. I saw questions about it and interest expressed but couldn't find anyone who had actually built one. Do you (or does anyone) know of an example? Ideal would probably be one implementing SimpleIOSandboxedProc since that would allow streaming of Python source to stdin. I can start from the Python controller if necessary but I'm a C/C++ programmer by trade with very little Python experience. A C example would make it much faster to spin up. Thanks, -Tom
On Fri, 24 Apr 2015 21:30:18 +0200, Maciej Fijalkowski wrote: pypy generally needs to find a bunch of files for it's standard library. I would suggest trying something a-la the sandboxed version where all the external calls go via a special proxy that you can write in C++. it's a bit of effort though. What are you trying to achieve if you have no filesystem? (e.g. the whole module system can't potentially work) On Fri, Apr 24, 2015 at 8:30 PM, wrote:
I'm evaluating PyPy for use in an application where it will be running in an RTOS (Greenhills Integrity) which is congifured without a file system at runtime. The rest of the application is C/C++. Is there a way to build PyPy for this environment? The issue I see is that pypy_setup_home()requires a file system path to an executable / .so library. Is it possible to statically link PyPy into the application and the give an equivalent to pypy_setup_home() a pointer to the linked code? Some other approach? Thanks Tom _______________________________________________ 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
_______________________________________________ pypy-dev mailing list pypy-dev@python.org https://mail.python.org/mailman/listinfo/pypy-dev