If you are talking about the kill cube, something very similar can be achieved with the Phoenix FD mapper and VRay distance texture. It will be probably faster then python, and you can use any geometry. The Maya version also has C++ API (PhoenixInterface.h) which supports all scripting functions and more. C++ is much faster then Python. However, I don’t think someone actually tried to use C++ so far :).