FFI (Foreign Function Interface) is a classic abstraction that allows you to invoke functions written in other programming languages from the code in your target language. In this article, we’ll explore what FFI is, how it works, and how to use it in Python. This article is by no means a comprehensive guide and may contain inaccuracies. My aim is simply to cover the essentials and give you a nudge in the right direction for further study. I’ve also intentionally simplified some examples f...