🔊 Recorded at PyCon DE & PyData 2025, April 25, 2025
https://2025.pycon.de/program/CUJMCD/
🎓 The presentation demonstrates how to build efficient, maintainable libraries that bridge Python and Rust codebases while preserving idioms from both languages.
Speakers:
Ben Brandt
Description:
Ben Brandt presents strategies for building and maintaining libraries that serve both Python and Rust ecosystems effectively. Drawing from his experience developing text-splitter libraries, he demonstrates how to structure dual-language projects using Rust's cargo workspaces and PyO3 bindings. Brandt advocates for separating core logic into a pure Rust crate before creating language-specific bindings, allowing developers to leverage Rust's performance benefits while maintaining idiomatic interfaces for each language. The presentation addresses technical challenges including dynamic dispatch for trait implementations, type annotation management, documentation across languages, and handling native extension interactions. He discusses practical considerations such as managing wheel builds and debugging cross-language calls. Brandt emphasizes the importance of providing language-appropriate interfaces, noting how byte offsets versus character indices require different approaches in Rust and Python. The approach enables broader community engagement, with contributions and feature requests coming from both language communities. While acknowledging the additional maintenance overhead, Brandt demonstrates how this architecture allows teams to share domain expertise across language boundaries while maintaining performance and usability.
⭐️ About PyCon DE & PyData:
The PyCon DE & PyData conference unite the Python, AI, and data science communities, offering a unique platform for collaboration and innovation. The PyCon DE & PyData 2025 conference, provided an exceptional experience, fostering deeper connections within the Python community while showcasing advancements in AI and data science. Attendees enjoyed a diverse and engaging program, solidifying the event as a highlight for Python and AI enthusiasts nationwide.
Follow us:
• LinkedIn: / 28908640
• X: https://www.x.com/pyconde
Links:
• Conference website: http://pycon.de
• Other sessions: https://2025.pycon.de/talks/
The conference is organized by
• Python Softwareverband e.V.: http://pysv.org
• NumFOCUS Inc.: http://numfocus.org
• Pioneers Hub gemeinnützige GmbH: http://pioneershub.org
If you enjoyed this session, please like, comment, and subscribe to our channel for more insightful talks and discussions.
Share this video with your network to spread the knowledge!
Hashtags:
#Python #PyConDE #PyData #OpenSource #AI #DataScience #MachineLearning #SoftwareDevelopment #LLMs #Community
Acknowledgements:
Special thanks to all the volunteers and sponsors who made this event possible.
About:
Python Softwareverband e.V.:
PySV is a non-profit that promotes the use and development of Python in Germany through events, education, and advocacy, fostering an open Python community.
NumFOCUS Inc.
supports open-source scientific computing by providing financial and logistical support to key projects like NumPy and Jupyter, promoting sustainable development and collaboration.
Pioneers Hub gemeinnützige GmbH:
is a non-profit fostering innovation in AI and tech by connecting experts and promoting knowledge exchange through events and collaborative initiatives.
Nesta página do site você pode assistir ao vídeo on-line Practical Python/Rust: Building and Maintaining Dual-Language Libraries duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário PyCon DE 05 Outubro 2025, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 111 vezes e gostou 0 espectadores. Boa visualização!