PyCon, the gathering for the community using and developing the open-source Python programming language. This is the second year of the PyCon Pune where the community will meet for two days of talks and working on upstream projects in two days of dev sprint. CFP ends on 15th September AoE.

Website: https://pune.pycon.org/2018/

Note to submitters: The talks will be selected by a team. We will not count the public votes.

Hosted by

PyCon Pune 2017 more

Jack Fransham

@jef

Faster Python without losing your hair

Submitted Aug 5, 2017

A tutorial on writing C extensions in Rust, the Mozilla-backed competitor to C and C++. Writing native-code extensions doesn’t have to be a last resort any more.

Outline

This is a walkthrough on how you can write world-beatingly fast code to optimise hot paths in Python code. I’m a former professional Python programmer and now I write Rust for Parity Technologies. I love both languages and believe that with Rust writing C extensions can be as much a part of the average Pythonista’s optimisation toolkit as any other technique - it doesn’t just have to be scary any more.

I will go a little into the precise reasons that the Rust code is so much faster, too. I’ve supplied a link to an article of mine about some of what makes fast Rust code fast in the “links” section.

My two favourite things in tech is improving the accessibility of programming and making stuff go fast, so combining Python’s ergonomics with Rust’s safe and easy speed is a topic close to my heart.

Requirements

This could be a talk or a workshop, the latter would require participants to bring a laptop. Probably you would need Python and Rustup installed, although neither take long to set up if not.

Speaker bio

Jack is a lover of good Python and cold beer, working as a core developer at Parity Technologies. He’s a professional writer of fastware and an unprofessional tutorialist.

Comments

{{ gettext('Login to leave a comment') }}

{{ gettext('Post a comment…') }}
{{ gettext('New comment') }}
{{ formTitle }}

{{ errorMsg }}

{{ gettext('No comments posted yet') }}

Hosted by

PyCon Pune 2017 more