Original Summary

Stof is an open-source runtime for logic you don&#x27;t own or fully trust.<p>Imagine a JSON document with functions inside, scoped to just the document that contains them. Stof instantiates this doc as a small wasm env, and makes these functions safe to call. They can&#x27;t access or manipulate anything but their own doc.<p>WebAssembly by itself is large in binary form, requires a lot of tooling, etc. Stof can be sent over the wire easily, is a superset of JSON for compatibility, and keeps the guarantees.<p>I created Stof not to replace a data format or anything, but to be a glue layer for data and distributed systems to work with one another. This includes I&#x2F;O for interchange data like JSON, YAML, TOML, etc., but also complex data like PDFs, images, binaries, both structured and unstructured (good layer to turn one into the other).<p>The fact is, the layer of data and communication between apps tends to be a bit messy, and strict adapters compiled at build time tend to be insufficient for the dynamism of modern software.<p>This applies directly to AI-generated data and code, which is basically like calling into another untrusted service. With this, you can safely embed the execution, pick where things run, and combine harnesses like data. Works well as a &quot;living&quot; context, also with the JSON interop - just parse into or stringify sections of the Stof doc at runtime when needed, like agent tool defs.<p>The playground on the site runs entirely in your browser. Stof is written in Rust and has support for JS&#x2F;TS and Python today.<p>I&#x27;d especially like feedback on whether the idea makes sense from the landing page, and where the docs need help.<p>GitHub: <a href="https:&#x2F;&#x2F;github.com&#x2F;dev-formata-io&#x2F;stof" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;dev-formata-io&#x2F;stof</a><p>Thank you!!<p>-CJ


  • 情报分类:商业与市场研究
  • 分类依据:内容涉及商业、投资或市场动态
  • 信息来源:Hacker News 新项目
  • 发布时间:2026/10/15 03:18:46