sqlite-loadable-rs

A framework for writing fast and performant SQLite extensions in Rust (by asg017)

Sqlite-loadable-rs Alternatives

Similar projects and alternatives to sqlite-loadable-rs

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better sqlite-loadable-rs alternative or higher similarity.

sqlite-loadable-rs reviews and mentions

Posts with mentions or reviews of sqlite-loadable-rs. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-04-13.
  • SQLiteGPT - Directly query ChatGPT with SQL functions
    2 projects | /r/sqlite | 13 Apr 2023
    The implementation is just a prototype right now and it should be implemented as a proper loadable extension in Rust with sqlite-loadable-rs. Make sure to star the GitHub repo if you want to see this happen! ;-)
  • Making SQLite extensions pip install-able
    18 projects | news.ycombinator.com | 6 Feb 2023
    It's possible but very difficult. For extensions built purely in C, you can statically compile extensions into a SQLite WASM build, which I have a few demos of with sqlite-lines [0] and sqlite-path[1].

    For extensions but in Rust however, it's much more difficult. Matt @tantaman has some success cross compiling his cr-sqlite [2] project to WASM, but it's quite complex.

    SQLite extensions typical rely on dlopen() to load dynamic libraries as an extension. WASM doesn't really have that, so you either have to statically compile your extension in your WASM build (which is difficult for non-C languages bc SQLite is written in C), or hack around some barely-supported WASM features that emulate dlopen(). Though I'm not the best with WASM, so hopefully someone with more WASM experience chimes in to help! It's something I'm tracking in this issue for the `sqlite-loadble-rs` project [3]

    [0] https://observablehq.com/@asg017/introducing-sqlite-lines#ce...

    [1] https://observablehq.com/@asg017/introducing-sqlite-path#cel...

    [2] https://github.com/vlcn-io/cr-sqlite

    [3] https://github.com/asg017/sqlite-loadable-rs/issues/5

Stats

Basic sqlite-loadable-rs repo stats
2
315
6.7
12 days ago

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com