Any thoughts on using PyPy on Pi?


#1

@eptak I was just wondering if using PyPy to run the Python code would be helpful? I’d think it would be low hanging fruit in terms of driver performance /wrt effort for value sake.

Cheers,

Craig


#2

Hi
Thanks for suggestion, we need to make some tests, to find best python compiler & interpreter.
Sure it’s something we’ll take in consideration.
Best,
-Eric.


#3

That’s why I like PyPy. It decides what to interpret, and what to compile. For driver stuff where you are doing a lot of number manipulation, it makes sense.

The only gotcha I can think of is with race states around serial bus transitions, but that can be minimized with explicit wait states in the standard.