Re:Incrementally migrating over one million lines of code fr...
by saagarjha on Thursday February 07, 2019 @04:05AM
(#19103980)
> You have the stdlib ctypes of course, but also pypy's cffi for an even better story.
Not something I would call seamless.
> pyqt to leverage the c++ qt lib and all it's tooling
This isn't native.
> mac and linuxes implement natively of lot of tools in their os for this reason
Generally command line scripts, which is something that Python is good at.
> There is also a reason it's one of the few languages allowed in prod at google.
What Google allows in production has only an oblique relevance to whether it should be used for a specific task.
You have the stdlib ctypes of course, but also pypy's cffi for an even better story.
We even have specialized ready to use tools for those, such as pywin32 to manipulate the windows api and registry, pyqt to leverage the c++ qt lib and all it's tooling, or watchdog to survey file changes, using the native api when possible.
In fact, mac and linuxes implement natively of lot of tools in their os for this reason.
There is also a reason it's one of the few languages allowed in prod at google. It's the best at nothing, but it's damn good at most things.