Kotlin∇: Shape-Safe Symbolic Differentiation with Algebraic Data Types
🧩 Shape-Safe Symbolic Differentiation with Algebraic Data Types - breandan/kotlingrad
Kotlin∇: Shape-Safe Symbolic Differentiation with Algebraic Data Types launched on April 24, 2021 with 15 votes, #1,247 of 3,754 launches that month and more than 75% of that year's launches. The site was still online in September 2026, 5 years on.
In plain words
Kotlin∇ is a symbolic differentiation library built for the Kotlin programming language using algebraic data types. It enables developers to compute derivatives of mathematical functions while maintaining type safety throughout the process. The tool is designed for mathematicians, scientists, and engineers who need reliable automatic differentiation capabilities within Kotlin projects. Its shape-safe approach ensures that dimensional and structural correctness is verified at compile time rather than runtime.
written from the facts on this page · September 2026
Does a similar job
all alternatives →
Kotlin Money2024 · blog.eriksen.com.br · ▲427Manipulating monetary amounts is a common computing chore. However, no mainstream language has a first-class data type for representing money, it’s up to programmers to code abstractions for it. This isn’t an issue per se until dealing with rounding issues from operations like installment payments (e.g., buy now, pay later), foreign exchange, or even simple things like fee processing and tax collection. Inspired by my days at N26 Brasil dealing with these challenges, I introduce Money: a Kotlin library that makes monetary calculations and allocations easy.
Boldly go where Gradient Descent has never gone before with DiscoGrad2024 · github.com · ▲232Trying to do gradient descent using automatic differentiation over branchy programs? Or to combine them with neural networks for end-to-end training? Then this might be interesting to you. We develped DiscoGrad, a tool for automatic differentiation through C++ programs involving input-dependent control flow (e.g., "if (f(x) < c) { ... }", differentiating wrt. x) and randomness. Our initial motivation was to enable the use of gradient descent with simulations, which often rely heavily on such discrete branching. The latter makes plain autodiff mostly useless, since it can only account for the…
- CDClojure DSL for pattern-matching, parsing and generic programming2012 · scattered-thoughts.net · ▲204
Eole, a Lévy-optimal lambda calculus evaluator written in Rust2019 · github.com · ▲106Éole, a Lévy-optimal lambda calculus evaluator without oracle - HerrmannM/eole
val – An arbitrary precision calculator language2025 · github.com · ▲34Wrote this to learn more about the `chumsky` parser combinator library, rustyline, and the `ariadne` error reporting crate. Such a nice DX combo for writing new languages. Still a work in progress, but I thought I'd share :)
Peridot – A functional language based on two-level type theory2022 · github.com · ▲151A fast functional language based on two level type theory - ehatti/peridot
Questions this answers
More life & fun this month
the category →
A free city-building game in your browser. You are the mayor. You know what the city needs. Now get it past the zoning board, the neighbors, the appeals court and the next election.
Life & fun · 2d ago · permit.petercai.com
- IV
Life & fun · 15d ago · tanzaniaeducationproject.org

Turn a phone, tablet or TV into a sign. Type a message and it fills the screen: welcome signs, timers, Wi-Fi passwords and more. No app, no account, free.
Life & fun · 16d ago · bigwords.page

Play a free virtual guitar online with your keyboard or by touch. Slow songs down and see every chord, string and strum. Acoustic, classic, electric and bass.
Life & fun · 9d ago · guitoro.com

Carrier settings from iPhone, Pixel and Galaxy firmware, decoded and compared: APNs, VoLTE, 5G and Wi-Fi Calling per carrier, and what each build changed.
Life & fun · 13d ago · carrierexplode.com

Life & fun · 23d ago · space.bl2.net
Source: Show HN post ↗
Launched alongside, April 2021
the whole month →




Build your landing page with these 100+ tools
Growth · 2021 · landingpage.fyi
- PFPDFs from HTML▲742
Life & fun · 2021 · pdf.math.dev