Skip to content

Instantly share code, notes, and snippets.

View meawoppl's full-sized avatar
💭
💻 🔨 🔥 😆

MattyG meawoppl

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

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.