Although Python is a great programming language, it is sometimes necessary to extend the functionality of Python with other library or modules that are not written in native Python code e.g. for database drivers, third-party SDKs etc.
With the FFI(Foreign function interface) you can connect Python with other languages like C, C++ and even the new Rust. There are some alternatives to achieve this goal, Native Extensions, Ctypes and CFFI. Francisco will compare this three ways of extending Python.
Francisco Fernandez works as a software engineer at biicode in Madrid. He uses Python as his main programming language but he also program in other languages like Scala, Go, Clojure… His main interests are distributed systems, functional programming and graph databases.