Quantcast
Channel: Planet Python
Viewing all articles
Browse latest Browse all 23144

Python⇒Speed: Cython, Rust, and more: choosing a language for Python extensions

$
0
0

Sometimes pure Python code isn’t enough, and you need to implement an extension in a compiled language like C, C++, or Rust. Maybe your code is slow, and you need to speed it up. Maybe you just need access to a library written in another language.

Depending on your particular situation and needs, you may want to choose a different tool. But which one?

Let’s see what your options are, and then go through a variety of scenarios and see which of the options is most appropriate.

Read more...

Viewing all articles
Browse latest Browse all 23144

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>