![]() Depending on the task being performed, the performance gains can be dramatic. PyPyĪ drop-in replacement for the CPython interpreter, PyPy uses just-in-time (JIT) compilation to speed up the execution of Python programs. But in environments where development tends to track cutting-edge versions, it could present a problem. In environments where development tends to be tied to a specific version of a project, this is less of an issue. If you want to upgrade to a newer version of a project with complex dependencies (e.g., TensorFlow), you will need to upgrade your ActivePython installation as well. There is one potential drawback to ActivePython’s approach to handling packages with external dependencies. ![]() ![]() ActivePython uses Python’s regular pip package manager, but also supplies a few hundred common libraries as verified pack-ins, along with some common libraries with third-party dependencies such as the Intel Math Kernel Library. ActivePython use casesĪctivePython is aimed at enterprise users and data scientists-people who want to use Python, but don’t want to spend a lot of effort assembling and managing a Python installation. Like Anaconda, ActivePython is created and maintained by a for-profit company-in this case, ActiveState, which markets a number of language runtimes along with the multi-language Komodo IDE. You can then add packages to Miniconda as you see fit, with an eye toward how much space each piece consumes. One way to reduce Anaconda’s footprint is to install Miniconda, a stripped-down version of Anaconda that includes only the absolute minimum of pieces needed to get up and running. This can be an issue in situations where you have resource constraints. A basic CPython installation runs about 100MB Anaconda installations can grow to gigabytes in size. Anaconda Python limitationsīecause Anaconda includes so many useful libraries, and can install even more with only a few keystrokes, the size of an Anaconda installation can be much larger than CPython. The conda package manager, created specifically for Anaconda, handles installing both Python packages and third-party, external software requirements. Finding components, keeping them up to date, and working with them is a good deal easier out of the box with Anaconda than with CPython.Īnother boon is the way Anaconda handles components from outside the Python ecosystem if they’re required for a specific package. When installed, Anaconda provides a desktop app-the Anaconda Navigator-that makes every aspect of the Anaconda environment available through a convenient GUI. Anaconda Python use casesĪnaconda bundles many of the most common libraries used in commercial and scientific Python work-SciPy, NumPy, Numba, and so on-and makes many more of them accessible via a custom package mamagement system.Īnaconda stands out from other distributions in how it integrates all these pieces. The chief use cases for Anaconda Python are math, statistics, engineering, data analysis, machine learning, and related applications. (formerly Continuum Analytics), is designed for Python developers who need a distribution backed by a commercial provider and with support plans for enterprises. Again, all this is by design, to ensure maximum compatibility and to allow CPython to serve as a reference implementation, but it means any performance optimizations are up to the developer.Īnaconda, produced by Anaconda, Inc. Those are all things you can add on your own, but they’re not bundled. There is no native JIT (just-in-time) compiler, no accelerated math libraries, and no third-party additions for the sake of performance. CPython limitationsĬPython does not have the performance optimizations found in other editions of Python. Other distros (Anaconda, in particular) provide more automation around workspace setup. CPython is also useful for the expert who wants to work with Python in its most fundamental incarnation, and who is willing to forgo certain conveniences.įor example, with CPython, you have to do a little more lifting to set up virtual environments. Python’s maintainers want CPython to be the most broadly compatible and standardized implementation of Python available.ĬPython is your best choice when compatibility and conformity to Python standards matter more than raw performance and other concerns. Because CPython is the reference implementation of Python, it is the most conservative in terms of its optimizations.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |