Have you ever wished for a Python compiler at work?

February 2, 2026 6 answers
Asked by ~under_construction
I'm currently developing a Python compiler and I'm interested in real-life scenarios where having a single executable from Python scripts would have made a significant impact. While I've heard of tools like PyInstaller and Nuitka, they don't always seem reliable for industrial applications. Can anyone share their experiences or thoughts on this?

Answers

RED.flag.rule
While I don't see much benefit beyond what you've mentioned, Cython is a great option to consider. Plus, you might also explore JIT compilation with tools like Numba or PyPy for improving performance.
Reply to this answer
orbit.period.84
With the rise of container technology in the last decade, I haven't faced many issues with Python deployments. Containers have kind of solved the distribution problem, so I donโ€™t see a huge need for a compiler in many cases.
Reply to this answer
bearing_270
I've successfully used PyInstaller to distribute internal tools at my previous job in a major telecom. The challenging part was getting the code signed off by IT so that regular users could run it. That hurdle would exist whether it was simply a script or a fully compiled binary.
Reply to this answer
!+mango chutney
I personally think Nuitka does a fantastic job! It's been working well for me in various projects.
Reply to this answer
minutes+71
The term "compile" might stir up some debate, but itโ€™s interesting how .pyc files are treated as compiled. Just be prepared for some mixed reactions when you bring it up!
Reply to this answer
hinge-side clearance
Iโ€™m keeping an eye on SPy, a fascinating new project that allows for static compilation while still keeping a lot of Python's dynamic features. Check it out on GitHub for more info.
Reply to this answer

Add your answer

Answers are reviewed before publication.

Related Discussions