I know I should be able to run Python routines from within Panorama, can I run PyPy as an alternative?
This is the first I’ve ever heard of PyPy.
You might be able to set up Panorama’s scripting language configuration to do this. But you’ll be a test pilot on this - as far as I know it’s never been tried before.
If you try it, please report back as to what results you achieve.
So far, it looks like I just have to “point” to PyPy instead.
- Look for settings like “Python Interpreter Path” or “Python Executable”
- If found, change from something like
/usr/bin/python3
to/usr/local/bin/pypy3
(or wherever PyPy is installed)
The steps would be:
-
See what the latest version of Python the latest PyPy is compatible with. I think it’s 3.10 or 3.11. Then create Python code that is compatible with that version and finally run it with PyPy.
-
If that works then read all the Help in Panorama about implementing Python but point to PyPy3 instead.
However, because Panorama X is so dern fast and has such fantastic text manipulation tools, using an “extension” my not be necessary.
I have a looping routine in SimplyFortran (gFortran) that takes a few seconds. Just the right size to put it in a PanX procedure and try it out. Of course it’s sorta not fair, Fortran isn’t known as a Database Tool.
Like I was at a light next to a Lamborghini yesterday (in Bend OR!), I rev’d the engine on the Jeep. He took me off the line, but it would have been different if we where “off-road”.
If the PyPy become a real implementation, I’ll post it. But even though it has strength over Python in looping and computations, it may not have strength over Panorama X.