Skip to content

Commit

Permalink
Add more info
Browse files Browse the repository at this point in the history
  • Loading branch information
isuruf committed Oct 16, 2024
1 parent fa71ef7 commit 4bdd4ad
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions blog/2024-10-15-python-noarch-variants.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,18 @@ functionality and performance to our users.

In the Python world, some packages are written in C/C++/Cython
to get the most performance out of a package. However these packages
have a reference implementation written in Python. The Python
sometimes have a reference implementation written in Python. The Python
reference implementation is a good way to check the C/C++/Cython
code against a much simpler python implementation and is also
useful for platforms like PyPy where the C/C++/Cython implementation
can be slower than the Python reference implementation due to the
emulation of the Python C/C++ API by PyPy. For eg: for the Cython
package, setting `CYTHON_NO_COMPILE` environment variable
when building the Cython wheel itself, it will use the Python reference
implementation.
implementation. The only way to figure out if a package has a Python
reference implementation is to look at `setup.py` on packages that
provide such a file to see if `extensions` are built always or
with a switch.

To support platforms like PyPy, Some packages build wheels with
compiled extensions for the platforms that are
Expand Down

0 comments on commit 4bdd4ad

Please sign in to comment.