What’s new with Herb.jl: Teaching Programs how to Program with Program Synthesis @TheJuliaLanguage
What’s new with Herb.jl: Teaching Programs how to Program with Program Synthesis  @TheJuliaLanguage
Uploaded October 2026 | Updated November 2026, 3 hours ago
What’s new with Herb.jl: Teaching Programs how to Program with Program Synthesis by Tilman Hinnerichs, Reuben Gardos Reid

PreTalx: pretalx.com/juliacon-2026/talk/RXG7AD
flyer-RXG7AD: pretalx.com/media/juliacon-2026/submissions/RXG7AD/resources/RXG7AD_XFuhxxV.png

Wouldn’t it be great if Julia could program itself?
You simply tell it what you want, Julia magic happens, and you get correct-by-construction code.
In this talk, we introduce `Herb.jl`, a unifying program synthesis library written in Julia, that gets us closer to this goal.
While we are not fully there yet, we have significantly progressed since our last talk at JuliaCon 2024.

`Herb.jl` is a toolbox and framework for program synthesis: Automatically generating (not just) programs from specifications.
Since our last talk at JuliaCon 2024, `Herb.jl` has grown substantially, combining both reasoning about programs and LLM-guided code generation.

First, we introduce new constraint-solving techniques to `Herb.jl` and program synthesis:
Constraints allow us to prune large regions of possible programs, e.g., by removing symmetries and useless programs, leading to significantly faster solving times.

Second, we introduce provable LLM guidance:
In `Herb.jl`, large language models (LLMs) can propose candidates or search heuristics, while `Herb.jl` retains formal guarantees and reasoning capabilities.

In this talk, we give a brief overview of our architecture, which unifies these ideas into a single extendable pipeline.
We demonstrate how Julia’s metaprogramming and composability enable implementing new and old synthesizer ideas, and show how `Herb.jl` helps to synthesize not just programs.
What’s new with Herb.jl: Teaching Programs how to Program with Program SynthesisMuschel N2 | JuliaCon Global 2026 | Day 1Batched optimization solvers: a tour dhorizon | François PacaudResolving the Edge of the Universe: Imaging Black Holes with Julia | Tiede | JuliaCon Global 2026JuliaLowering.jl: Provenance, automatic hygiene, and tooling | Foster, Chu | JuliaCon Global 2026DGGS.jl: Discrete Global Grid System Native Data Cubes | Loos | JuliaCon Global 2026Reseau.jl: Platform-Native Async IO Primitives for Julia | Quinn | JuliaCon Global 2026Pagos.jl - play ice-sheet modelling like it’s Lego | Swierczek-Jereczek | JuliaCon Global 2026ElectricityEmissions.jl: Calculating carbon intensity signals on the power grid | Noah RhodesJuliaDecisionFocusedLearning: A Practical Introduction to Decision-Focused Learning in Julia | BatyCross-Country Macroeconomic Forecasting Using Physics-Informed Neural Networks and Universal Differ…Idealized Atmospheric Flow and Gravity-Wave Modeling with PinCFlow.jl | Steiger
The Julia Programming Language |

What’s new with Herb.jl: Teaching Programs how to Program with Program Synthesis

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER