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

Опубликовано: 18 Июль 2024
на канале: 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


На этой странице сайта вы можете посмотреть видео онлайн Does Rust work quicker than Python on native Python data structures? длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь EKB PhD 18 Июль 2024, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 645 раз и оно понравилось 31 зрителям. Приятного просмотра!