Jixp, a Lisp DSL for describing Jax neural nets
Details
- External ID
- 49037725
- Source
- HN
- Company
- —
- Product
- Jixp, a Lisp DSL for describing Jax neural nets
- Website domain
- github.com
- Launched
- July 24, 2026
- Cohort
- —
- Upvotes
- 6
- Upvotes percentile
- 0.2873357228195938
- Tags
- —
- Fetched at
- Sept. 7, 2026, 9:26 p.m.
- Updated at
- Sept. 7, 2026, 9:26 p.m.
Description
This is a side project I've been working on while learning Jax. I noticed that a bunch of the neural net math looked like it would work well in a lisp syntax because most of the data flows through layers in a "functional" manner. Data is threaded through one layer at a time, each layer composing with the previous layer.Jixp is designed as a learning tool for myself while learning Jax to toy around with different shapes/styles of models. I used this to train a 4m parameter model on my Obsidian vault to see if I could use it for recall which partially worked. ```lisp (let-dim (d 256) (heads 8)(define transformer-block (chain (residual (layernorm d) (attention d heads #:causal)) (residual (layernorm d) (mlp d [4d] d #:bias)))) ```The Jixp compiler reads the (racket style) DSL and outputs python which is then consumed via your normal python training stack. The advantage here is you get a pretty simple interface to describe your model and the implementation details are largely hidden in the generated python. I definitely do not recommend using this for anything besides learning.One day I can see models being specified in terms of a DSL like this which would allow different implementations of inference/training to load the same model. You could write one model definition, then vLLM, PyTorch, and your custom inference stack could all use the same definition. Sort of like a `.safetensor` file for the model.
Enrichment
- Theme
- developer tools and programming utilities
- Vertical
- Horizontal
- Function
- Dev tools
- Audience
- Developer
- AI stance
- Not AI
- Project type
- Hobby / open-source project
- Normalized one-liner
- lisp dsl for jax neural networks
- Manually corrected
- False
Could you build this?
Partial Writing a toy Lisp parser is straightforward, but constructing a robust DSL and compiler layer that integrates cleanly with JAX computation graphs and autodiff semantics demands deep familiarity with compiler design and JAX internals.
What it would actually take: Requires building an AST parser/macro system in Python or Lisp that lowers S-expressions into JAX functional transformations (`jax.jit`, `jax.grad`, `jax.vmap`). It necessitates deep understanding of functional compiler mechanics, SSA/computation graphs, and JAX's `jaxpr` intermediate representation.
Discussion
No comments on this launch.
Competitors
Other products that read as similar to this one — 40 launches clear the similarity bar, closest 8 shown.
Attention rank: #38 of 41 (itself plus its competitors, highest first — normalized so YC and Product Hunt are compared fairly).
Launched 261 days after the earliest competitor.
- Gene · hn · 2026-01-01 · 36 upvotes · similarity 0.40
- Modeleon · hn · 2026-05-01 · 6 upvotes · similarity 0.38
- Linear RNN/Reservoir hybrid generative model, one C file (no deps.) · hn · 2026-04-09 · 7 upvotes · similarity 0.37
- Symbolic Circuit Distillation: prove program to LLM circuit equivalence · hn · 2026-01-06 · 16 upvotes · similarity 0.37
- Metaspec: The DpANS3R Common Lisp Spec in S-Expr and HTML Format · hn · 2026-06-24 · 17 upvotes · similarity 0.36
- QuiddityML · ph · 2026-09-15 · 2 upvotes · similarity 0.35
- Low-latency local LLM runner via OpenJDK Panama FFM (Java 22) · hn · 2026-07-14 · 38 upvotes · similarity 0.35
- ZigFormer · hn · 2025-11-27 · 22 upvotes · similarity 0.35
Other launches for this product
- No other launches for this product.
Same idea, different domain
Nobody's really built a dev tools tool for Sales yet.