diff options
author | Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2023-09-11 03:07:42 +0000 |
---|---|---|
committer | Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2023-09-11 03:07:42 +0000 |
commit | 26deacbdaee2f2e28ce08654a0ba4d8a0537f7ff (patch) | |
tree | 62828ae02dc540c66f739b252bf86694d061efe1 | |
parent | fd109ee19b803382d2c3f845918fdbb80ae4578b (diff) | |
download | ports-26deacbdaee2f2e28ce08654a0ba4d8a0537f7ff.tar.gz ports-26deacbdaee2f2e28ce08654a0ba4d8a0537f7ff.zip |
lang/cython: Update pkg-descr
-rw-r--r-- | lang/cython/pkg-descr | 20 |
1 files changed, 8 insertions, 12 deletions
diff --git a/lang/cython/pkg-descr b/lang/cython/pkg-descr index 3c57b208ba46..e06adf8ec27b 100644 --- a/lang/cython/pkg-descr +++ b/lang/cython/pkg-descr @@ -1,14 +1,10 @@ -The Cython language makes writing C extensions for the Python language -as easy as Python itself. Cython is a source code translator based on -the well-known Pyrex, but supports more cutting edge functionality and -optimizations. +Cython is a Python compiler that makes writing C extensions for Python as easy +as Python itself. Cython is based on Pyrex, but supports more cutting edge +functionality and optimizations. -The Cython language is very close to the Python language (and most -Python code is also valid Cython code), but Cython additionally supports -calling C functions and declaring C types on variables and class -attributes. This allows the compiler to generate very efficient C code -from Cython code. +Cython translates Python code to C/C++ code, but additionally supports calling C +functions and declaring C types on variables and class attributes. This allows +the compiler to generate very efficient C code from Cython code. -This makes Cython the ideal language for writing glue code for external -C libraries, and for fast C modules that speed up the execution of -Python code. +This makes Cython the ideal language for wrapping external C libraries, and for +fast C modules that speed up the execution of Python code. |