Skip to content
Permalink
master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
# Talk details are specified in YAML files
# YAML was selected because we can use multi-line strings and add
# comments in the file.
speaker_name: "Philippe"
talk_title: "Flying Python – A reverse engineering dive into Python performance"
# At least 1 tag is necessary!!
talk_tags:
- "fun"
- "internals"
- "performance"
talk_abstract: "This presentation will look into the inner mechanics of Python in an attempt to suggest a different approach to writing Python code. In doing so, we will offer suggestions about how to make your Python code perform better."
talk_details: "The original idea for this presentation stems from a passion for code performance and reverse engineering.
While there is a wealth of information on how to make C or C++ code faster, there is generally a lack of deep understanding of the Python interpreter preventing Python programmers from achieving what we call “conscious programming”. To elaborate, programmers often have to resort to using known best practices, sometimes without knowing why a given technique is faster, or more advisable, than another one. Obviously, using best practices is often enough. However it is our opinion that in order to own the craft of programming, programmers should be able to obtain and understand second level knowledge about how their tools and computer actually execute the code they are writing.
In this talk we will use a case well-known in the Python community: List comprehension vs. Loop for list initialization. However, we will explore it from the point of view of a reverse engineer and treat the code the same way C code would be treated. In doing so, we will question the way code is executed and suggest alternative or interesting angles to apply to programming in Python.
It should also be noted that in this talk, we purposefully chose to present the subject in the context of the current environmental crisis. Indeed, more performant code would run faster thus use less power to do the same job, potentially resulting in impressive savings in power consumption.
This presentation has never been presented and has been prepared specially for the PyCon conference."
# Markdown is supported
about_author: 'Philippe is a computer security specialist at Communication Security Establishment. Prior to joining CSE, he worked as a security auditor helping various organisations find and fix security issues within their software environment. He also did some research in the field of reverse engineering where he helped develop innovative ways of making the software reverse engineering process easier. Philippe has a passion for code performance and open source and sharing his knowledge. He is currently leading the Gambit research team at CSE.'
# web link will only show if about_author section is present
author_website: 'https://www.cse-cst.gc.ca/'