Skip to main content

3 posts tagged with "release"

View All Tags

Stof 0.11.4: Rust, JavaScript, and Python

CJ Cummings
Creator and maintainer of Stof, co-founder & CEO of Limitr

More and more of the logic in an app is written by someone other than the app's developers. A model drafts a pricing rule or an agent tool. A customer sets up their own scoring, routing, or approval rules. Your app has to run that logic on every request, inside the process, without giving it the keys to everything else.

That's the job Stof does. The logic arrives as a document: JSON with functions. Your app loads it, hands it the few functions it may call, sets a time and memory limit, and calls it. The document can't reach anything else.

Stof 0.11.4 makes that the same job in all three languages Stof runs in. Rust is where it's built, JavaScript runs it through WebAssembly, and with this release Python is first-class too: a prebuilt wheel for every platform, and the bugs that made Python hosts awkward are fixed.

Running Logic You Didn't Write: Stof's Security Model in 0.11

CJ Cummings
Creator and maintainer of Stof, co-founder & CEO of Limitr

Stof is JSON that runs, and the logic that runs is often logic you didn't write: a rule a model drafted, a customer's settings, a plugin another team shipped. Your app runs it in-process, with no deploy, and has to stay in charge of what it can do.

Stof 0.11 completes the security model that makes that safe to rely on. Start with nothing, limit every call, seal what you trust, confine what you don't, and sign what crosses a wire. This post walks through the whole model, and most of the examples run right here on the page. (Some of this first shipped in 0.10.10; 0.11 completes it.)

Stof 0.10: Safe by Default, Errors You Can Read, and a Language Server

CJ Cummings
Creator and maintainer of Stof, co-founder & CEO of Limitr

Stof 0.10 is out. It's the biggest release since Stof started, and almost all of it serves one goal: making it safe and easy to run logic you didn't write, whether it came from a model, a customer, or another team.

That meant tightening the sandbox, making every error something a person or a model can read and fix, closing off behaviors that quietly produced wrong answers, and giving you better tools to write Stof yourself. This post covers 0.10.0 through 0.10.9, along with stof-cli 0.13 and version 0.3 of the VS Code extension. It was updated on October 20 for 0.10.7 and 0.10.8, and on November 3 for 0.10.9.