tursodatabase/turso

CPython support

Open

#128 opened on Jul 12, 2024

View on GitHub
 (5 comments) (0 reactions) (0 assignees)Rust (1,001 forks)github user discovery
enhancementhelp wanted

Repository metrics

Stars
 (19,103 stars)
PR merge metrics
 (PR metrics pending)

Description

This is going to be a huge task, but the goal is to be able to build CPython using Limbo's SQLite compatibility library.

You can build Python with Limbo as follows:

git clone --depth 1 https://github.com/python/cpython.git
cd python
export LIBSQLITE3_LIBS=<LIMBO SOURCES>/target/debug/liblimbo_sqlite3.a
./configure
make -j8

I already added bunch of stubs to make it link, but there's tons of stuff to implement:

https://github.com/penberg/limbo/commit/17137ec458a9eed0eddc16d21e7ea457b057be36

Contributor guide