Foreign Function Interfaces for Web Developers

10:30 AM - 10:55 AM on August 16, 2015, Room 704

Tristan Fisher

Audience level:
intermediate
Watch:
http://youtu.be/Dpdl76rn7P8

Description

Python is a general-purpose programming language that is well-suited for a web application stack. However, components of your Python application could benefit from "mixing-in" the features of other languages. This talk will cover strategies for integrating Python and other languages, including Foreign Function Interfaces.

Abstract

Python is a general-purpose programming language that is well-suited for a web application stack. However, there are sometimes opportunities to increase performance or productivity by mixing the benefits of different languages, such as the expressiveness of Python with the speed of C++.

This talk will examine some of the constraints and opportunities in web development. We will explore methods for benefitting from these factors, including programming language interoperability, using the learning environment of a CPython 3.x Flask web application. A number of integration strategies will be covered, as well as the benefits and drawbacks of each.

By the end of the talk, attendees will know how to take input from a user via JavaScript and pass it through Python to C++ for computation.