SlothDB

Experimental embedded SQL engine in C++20, from scratch

Same model as DuckDB and SQLite: query Parquet, CSV, JSON, Arrow, Avro, SQLite and Excel files directly with SQL, in-process. .ask turns questions into SQL with a rules parser first, then local Qwen models, and a full WASM build runs in the browser.

  • ~1.3 MBFull WASM bundle

Trade-offs

  • All 7 file-format readers live in the core binary. They work with no extension, and they all ship in every build, with an edge build trimmed to CSV, JSON and Parquet for Workers.
  • .ask runs a rules parser first and picks models with a pure function of the question. Catalog and simple queries need no model, at under 10 ms.

Q&A2

They are anecdotal until the architecture work lands, and the project is a learning exercise.

Reviews

Loading reviews

    More in C++

    See all 44 →
    • OmarollPhoto and video viewer and library for Omarchy that follows the desktop theme
    • BigMoeOnEdgeEngine that streams MoE experts from flash to run models larger than memory
    • PXALLM server tuned for Tesla P100, V100 and GTX 10-series GPUs
    • gnss_gpuGPU GNSS positioning for urban canyons with particle filters and ray-traced NLOS
    • impLLM inference server built only for NVIDIA Blackwell GPUs
    • OmafilesKeyboard-first multi-panel file manager for Omarchy on Qt6

    More in Database internals

    See all 29 →
    • PaganelData migration engine that verifies the destination down to the row
    • FeOxDBEmbedded key-value store in Rust with write-behind durability
    • SNKVEmbedded key-value store built directly on SQLite's B-tree
    • RuvioRust key-value server that speaks RESP, with locks and queues as commands
    • musqlSQLite-compatible SQL engine on columnar storage and a JIT
    • EgresPostgres-compatible database in Zig for heavy, multi-tenant workloads

    More in SQL

    See all 11 →
    • cerberusPrometheus, Loki and Tempo HTTP gateway for ClickHouse
    • dbxliteBrowser SQL workbench on DuckDB for local files, BigQuery and Snowflake
    • DataZenDesktop database workspace for developers and AI agents
    • sqlmuxtmux-style terminal database client with Vim keybindings
    • SQL CrackVS Code extension that draws SQL query flow, dependencies and column lineage
    • DuckDB TerminalSQL terminal for DuckDB that runs entirely in the browser