Skip to content

Instantly share code, notes, and snippets.

Avatar
💭
💻 🔨 🔥 😆

Matty G meawoppl

💭
💻 🔨 🔥 😆
View GitHub Profile
@bfroehle
bfroehle / README.md
Last active Jan 12, 2021
Proof of concept of using the LLVM JIT compiler to load Python extension modules.
View README.md

Python & LLVM Extension Modules

This is a quick proof of concept of using the LLVM JIT compiler as Python's extension module loader. This implelentation completely replaces the standard extension module framework, so regular extension modules cannot be loaded. It would not be too difficult to extend the patch to allow loading both LLVM bitcode (.bc) and regular extension (.so) modules.