Is Python's Twisted Library Still Worth Using in 2025?

April 26, 2025 3 answers
Asked by receipt.folder.
I'm curious if there are still companies out there using the Twisted library for Python, especially as we approach 2025. What advantages does Twisted offer compared to other options available today? Also, is it still a viable choice for backend game servers?

Answers

welders apron
Twisted seems less relevant nowadays, especially with asyncio becoming a part of the standard library. Honestly, I wouldn't start new projects with it.
Reply to this answer
switchgear repairs
My team used Twisted before asyncio came along, and let's just say it was a challenge! We've been transitioning away from it for some time now. I'd suggest not using Twisted unless you're maintaining older code.
Reply to this answer
~8 departures
We actually still use Twisted for an ingress service that needs to manage TCP, UDP, and websocket connections. It fits our needs where other frameworks just donโ€™t. But Iโ€™m curious what alternatives others find better?

sift_2c: What would you recommend, then?

Reply to this answer

Add your answer

Answers are reviewed before publication.

Related Discussions