Does Rust work quicker than Python on native Python data structures?

Publicado em: 18 Julho 2024
no canal de: EKB PhD
645
31

I use the PyO3 Rust crate to have Rust loop over a native-Python PyList data structure and insert into a native-Python PyDict. Is it faster than Python? That's the question I answer in this video.

Here's the PyO3 docs on native-Python data types in Rust:
https://pyo3.rs/v0.22.2/conversions/t...

Here's my Rust code (thanks to my son Seth for help with it):
https://github.com/ekbrown/scripting_...

Here's my Python script:
https://github.com/ekbrown/scripting_...

#rustlang #pythonprogramming #corpuslinguistics


Nesta página do site você pode assistir ao vídeo on-line Does Rust work quicker than Python on native Python data structures? duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário EKB PhD 18 Julho 2024, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 645 vezes e gostou 31 espectadores. Boa visualização!