The pieces / weirdnet-code-spaces

weirdnet-code-spaces

Math, Polars, Rust and typed Python sources compiled into plugins against the plugin SDK.

GitHub crates.io docs.rs weirdnet-code-spaces = "0.1"

What it is

Code spaces: small programs compiled into native plugins against weirdnet-plugin and run against the application’s data through host methods.

Plugins run as native code with the application’s rights. Approving one is trusting it; this crate checks hashes and the ABI, it does not sandbox.

What is in it

  • Languages: math formulas, Polars expressions, Rust, typed Python translated in process (no libpython), and prebuilt libraries.
  • Builds: generated crates against the bundled SDK, a shared target directory, libraries cached by a content key.
  • Loading once per process after checking symbols and the ABI version; trust hashes an owner approves.
  • Spaces: @imports, renames, and the cycle and depth check. Result views parsed, checked and cut to their limits.

Where it fits