frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Show HN: ARB – A Differentiable Rigid Body Simulation Library Using C++23

https://github.com/wbyates777/Articulated-Rigid-Body
2•wbyates777•1h ago

Comments

wbyates777•1h ago
Hello HN,

I've been working on an open-source C++ library for articulated rigid body simulation, and I would appreciate some feedback on the codebase, and on a couple of key architectural decisions.

First off, ARB is MIT-licensed with header-only dependencies GLM and autodiff, and non-header dependencies TinyXML2, libccd, and openGJK. The repo can be found here: https://github.com/wbyates777/Articulated-Rigid-Body

ARB (Articulated-Rigid-Body) is a rigid body simulation library for graphics and robotics written in C++23. It consists of a compact implementation of a differentiable spatial algebra which is used to implement three important dynamics algorithms: the Articulated Body Algorithm (ABA), the Composite Rigid Body Algorithm (CRBA), and the Recursive Newton-Euler Algorithm (RNEA), and an impulse-based, Projected Gauss-Seidel (PGS) contact solver. See Featherstone 2008 and the GitHub project README.md for more details.

The project has two notable design features: i) it uses GLM over Eigen3 for linear algebra operations, and ii) it is entirely differentiable.

Eigen3 and GLM

Many industrial physics and robotics engines (such as Pinocchio or RBDL) rely on Eigen3. In contrast ARB is built on GLM (OpenGL Mathematics). This ensures a lightweight footprint and native graphics interoperability. Although the current ARB implementation performs within 1–6% of RBDL's execution speeds, after conducting some profiling, I am confident that rewriting some heavily used GLM formulas can close this gap. The main issue is that after translating between Eigen3 and GLM syntax, many block matrix formulas do not map to GLM exactly as they appear in textbooks (even though they are numerically correct). This gives rise to lots of frustrating false-positive "bugs".

End-to-End Automatic Differentiation

The GLM library is templated and when parameterised with autodiff types the spatial algebra and the entire simulation pipeline, including contacts, becomes differentiable. End-to-end differentiability facilitates advanced techniques such as analytical system identification (SI), gradient-based trajectory optimisation, model predictive control (MPC), and the application of machine learning algorithms. The issue here is that differentiating across impulse-based contact manifolds introduces non-smooth mathematical boundaries. For those working on differentiable simulation in robotics or machine learning, what strategies are you using to manage or smooth gradient discontinuities during contact transitions? Basically, is the openGJK implementation useful or are other approaches (i.e. signed depth functions) preferred?

Many Thanks.

Passports and photo IDs were left unprotected on the public internet

https://www.theverge.com/tech/947157/passports-data-breach-cannabis-club-systems-nefos-puffpal
1•SockThief•17s ago•0 comments

Miz Framework

https://eazymizy.com
1•sajjadws•1m ago•0 comments

AI Boom Stokes Inflation with Memory Chips at 'Insane' Prices

https://www.bloomberg.com/news/articles/2026-06-11/us-inflation-driven-partly-by-ai-boom-fueling-...
1•emot•2m ago•0 comments

Human migration has surged since 2000 – these maps reveal where people are going

https://www.nature.com/articles/d41586-026-01796-y
3•tzury•4m ago•0 comments

Show HN: I applied Lyapunov stability theory to detect when LLM agents spiral

https://github.com/vishal-dehurdle/state-harness
1•visha1v•8m ago•0 comments

WSP WordPress MCP – Connect AI Coding Agents to WordPress

https://github.com/bilalnaseer/wsp-wordpress-mcp
1•ibrarmaikah•10m ago•0 comments

The Illusion of Determinism

https://www.normallydistributed.dev/the-illusion-of-determinsim/
2•jillcates•10m ago•0 comments

DiffFlow: Developer-Grade Website Change Monitoring

https://diffflow.com/blog/announcing-diffflow/
1•7rin0•11m ago•0 comments

Andrew Neil's new podcast [video]

https://www.youtube.com/watch?v=cfF-susbboI
1•mellosouls•15m ago•0 comments

Feds will abruptly dismantle system monitoring climate change, oceans

https://www.usatoday.com/story/news/nation/2026/06/11/climate-change-ocean-monitoring-system-dism...
3•OutOfHere•18m ago•0 comments

Stadium Selfie

https://apps.apple.com/us/app/stadium-selfie/id6776387163
1•IAmbarbosa•18m ago•0 comments

Ranking the random voice chat apps/platforms

https://mindfuse.io/random-voice-chat
2•Joeribon•19m ago•0 comments

Bye-bye Butterflies

https://europeancorrespondent.com/en/r/byebye-butterflies
2•stared•19m ago•0 comments

Show HN: Realtime voice agent that sees, hears, and interrupts – on a CPU laptop

https://github.com/kouhxp/cheap-im
1•mrkn1•21m ago•0 comments

American capitalism is run by millionaires, not billionaires

https://www.economist.com/business/2026/06/10/american-capitalism-is-run-by-millionaires-not-bill...
2•bazzmt•23m ago•1 comments

Show HN: A skill to audit your dbt project for what an AI agent will get wrong

https://github.com/GetCassis/dbt-agent-readiness
2•matthieu_bl•24m ago•0 comments

Show HN: Claumon – forecasting Claude Code usage limits with a Gamma process

https://github.com/fabioconcina/claumon
1•fabioconcina•24m ago•0 comments

Kelsey Martin Wins Kavli Prize in Neuroscience

https://www.simonsfoundation.org/2026/06/10/kelsey-martin-wins-kavli-prize-in-neuroscience/
1•bookofjoe•26m ago•0 comments

Endgame: Russia's war economy hits its limits

https://www.kielinstitut.de/publications/news/endgame-russias-war-economy-hits-its-limits/
2•dennis-tra•27m ago•0 comments

Tell HN: Claude Code keeps getting worse

1•prmph•28m ago•0 comments

Soccer's Data Renaissance

https://www.technologyreview.com/2026/06/11/1138506/inside-soccer-data-renaissance-jesse-davis/
2•joozio•29m ago•0 comments

Show HN: Offsend – local Mac app that masks secrets before AI tools see them

https://github.com/Offsend/Offsend
2•hudishkin•29m ago•0 comments

Did AI speed us up? The honest ROI take

https://aibuilderseries.substack.com/p/did-ai-speed-us-up
3•seantheviking•31m ago•0 comments

TrustZone Intermezzo: Broken OP-Tee Memory Isolation on I.mx 8M

https://sigma-star.at/blog/2026/06/trustzone-intermezzo/
3•Deeg9rie9usi•32m ago•0 comments

Why isn't Quarkus 2x faster than Spring on my machine?

https://quarkus.io/blog/hidden-cost-rootless-container-networking/
2•LaSombra•33m ago•0 comments

Declarative Partial Updates Experiments

https://declarative-partial-updates.paulkinlan-ea.deno.net/
3•thunderbong•35m ago•0 comments

What Happened to Tea.xyz

https://nesbitt.io/2026/06/11/what-happened-to-tea.html
5•yla92•38m ago•0 comments

Show HN: SnapToCode – Screenshot any UI and get clean Tailwind code

https://chromewebstore.google.com/detail/snaptocode/jpchamlmjfoccmkdoiaibbpgkidapcnk
4•adithagrawaal•41m ago•0 comments

If a 9yo Nintendo Switch can run PC games,your handheld doesn't need to be x86

https://www.xda-developers.com/proton-running-on-a-nintendo-switch-convinced-me-my-next-handheld-...
2•Markoff•43m ago•0 comments

Show HN: Open-source API Key server written in Go by Ory

https://github.com/ory/talos
6•unsubtlecoder•43m ago•0 comments