Well, TBF there is a lot of avenues to get locked into legacy software in python. I am still modifying and using Python2 code because the drivers and libraries for hardware are only available in python2 and the hardware developers wont spend the money and time to create Python3 libraries. So I am stuck using an airbridged, un-updated python2 environment until it gets to the point of updating/backwards engineering python3 drivers and libraries for all our hardware ourselves.
What hardware drivers are written in Python? I would assume they're bindings to drivers with a C interface.
I should have been more specific. Yes, it is a wrapper around a closed source blob.
Take a look at micropython, some drivers are writing in pure python, I've written a display driver previously
I assumed those were for hobbyists. I would be surprised if that was used in a major product given how many cycles you lose to python implementation.
Yeah you're totally right. Nonetheless the use case has it's place. People buy and use hobbyist hardware, and this is a market on its own.
At the old job I was using IronPython (2.7) to write Grasshopper plug-ins in the Rhino CAD software. Luckily, it was mostly responsible for kicking off Python3 and Go subprocesses.
Now, the worst I’m stuck with is 3.8 for one of our repos using PyTorch.