# pngine: Declarative WebGPU with S-Expressions

> Hacker News story 49412467 · language: en · submitted 2026-08-23
> Web version: https://zeli.app/story/49412467
> About this feed: https://zeli.app/llms.txt · Agent guide: https://zeli.app/skill.md

▲ 46 · by [hugodan](<https://news.ycombinator.com/user?id=hugodan>) · 💬 11
[original](<https://hugodaniel.com/posts/declarative-webgpu-with-s-expressions/>) · [HN discussion](<https://news.ycombinator.com/item?id=49412467>)

## Summary

pngine is a declarative format and runtime for WebGPU, built on S-expressions, that lets you define pipelines, passes, and shaders in a single file. It validates configurations without a live WebGPU context, offers an LSP, and can export to HTML, ZIP, or even a self-contained PNG that doubles as a preview. The author argues most WebGPU plumbing is static and benefits from a declarative, data-driven approach, enabling sharing and tooling.

## Key quote

> The png in pngine is a homage to the initial kickstart idea I had of having the image be simultaneously a preview/poster and also container for the bytecode/runtime payload.

## HN discussion (11 comments)

### [SomeHacker44](<https://news.ycombinator.com/item?id=49414483>)

> I am a big Lisper. You lost me at the triple quote.

### [shevis](<https://news.ycombinator.com/item?id=49414070>)

> Looks interesting but none of the examples worked on the latest iOS safari

---

## Cite

- Page: https://zeli.app/story/49412467
- Date: 2026-08-23
- Source: hugodaniel.com (https://hugodaniel.com/posts/declarative-webgpu-with-s-expressions/)
- Hacker News: https://news.ycombinator.com/item?id=49412467

## Other languages

- zh: https://zeli.app/zh/story/49412467 · markdown: https://zeli.app/zh/story/49412467.md
- ja: https://zeli.app/ja/story/49412467 · markdown: https://zeli.app/ja/story/49412467.md
- ko: https://zeli.app/ko/story/49412467 · markdown: https://zeli.app/ko/story/49412467.md
- de: https://zeli.app/de/story/49412467 · markdown: https://zeli.app/de/story/49412467.md
- es: https://zeli.app/es/story/49412467 · markdown: https://zeli.app/es/story/49412467.md
- ru: https://zeli.app/ru/story/49412467 · markdown: https://zeli.app/ru/story/49412467.md
