Skip to content

Standalone engine binaries for each platform #69

Done

Description

@jmmana

Goal

Compile the engine into one executable per platform, so packages for other languages can ship it without Python.

Acceptance criteria

  • Built in CI for linux-x64, linux-arm64, macos-arm64, macos-x64 and windows-x64 (glibc Linux; Alpine/musl documented as remote-mode only until measured)
  • Tool chosen by measurement (PyInstaller one-dir vs one-file, Nuitka): cold start, size and memory recorded in benchmarks/engine-binaries.json; targets: cold start under 1 s, under 40 MB per platform
  • Each binary contains only sqlguardllm, sqlglot and the standard library (no optional extras); it opens no network connection and never starts a shell
  • Every binary passes hello and the full conformance corpus over stdio on its own runner

Relevant files

  • .github/workflows/engine-binaries.yml
  • scripts/build-engine.py
  • benchmarks/engine-binaries.json

Size

L (three to five days)

Notes

Metadata

Metadata

Assignees

No one assigned

    Labels

    lang:pythonsize:ltype:infra

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions