this post was submitted on 06 Oct 2023
73 points (95.1% liked)

Python

6472 readers
4 users here now

Welcome to the Python community on the programming.dev Lemmy instance!

📅 Events

PastNovember 2023

October 2023

July 2023

August 2023

September 2023

🐍 Python project:
💓 Python Community:
✨ Python Ecosystem:
🌌 Fediverse
Communities
Projects
Feeds

founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 17 points 1 year ago (6 children)

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.

[–] naonintendois 10 points 1 year ago (5 children)

What hardware drivers are written in Python? I would assume they're bindings to drivers with a C interface.

[–] hosaka 2 points 1 year ago (1 children)

Take a look at micropython, some drivers are writing in pure python, I've written a display driver previously

[–] naonintendois 3 points 1 year ago (1 children)

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.

[–] hosaka 1 points 1 year ago

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.

load more comments (3 replies)
load more comments (3 replies)