TGViewer
C++ - Reddit C++ - Reddit @r_cpp · 230 subscribers
Post #25319 14
ARB v1.0: A C++23 Articulated Rigid-Body Dynamics Library for Computer Graphics

Hi r/cpp,

I’ve just released v1.0 of ARB, a modern, lightweight, header-only C++23 library for articulated rigid-body dynamics aimed primarily at computer graphics and robotics applications.

The library is intended to provide a clean and simple tool for prototyping and rapid development of rigid-body dynamics applications without the complexity and overhead of the larger physics engines  out there.

ARB is based on a differentiable spatial algebra which is used to implement  the articulated body algorithms ABA and RNEA.  ARB supports end-to-end differentiation which enables advanced techniques such as system identification, gradient based optimisation, and machine learning. The lib also  provides collision detection/resolution using GJK/EPA, and has URDF support for model import/export.

My main interest here is in getting some feedback from C++ developers  about ARB syntax and API design. 

Is it easy to use? Are there any features you think are missing? I've used C++23 - should I use C++20?

Available here: ARB

https://redd.it/1trvt4r
@r_cpp
GitHub GitHub - wbyates777/Articulated-Rigid-Body: Compact implementation of spatial algebra, and Featherstone's articulated-body algorithm… Compact implementation of spatial algebra, and Featherstone's articulated-body algorithm (ABA), composite rigid body algorithm (CRBA), and the recursive Newton-Euler algorithm (RNEA) with e...
More from @r_cpp
  1. Sep 29, 2026Boost.Graph 1.95 will be C++17 Dear Boost.Graph community, In two release cycles (Boost re…
  2. Sep 26, 2026Token Sequence Injection & Modern Macros: The Most Game-Changing Compile-Time Feature in C…
  3. Sep 25, 2026myStringStream.str("") Considered Harmful Under C++20 I was recently looking at some (rath…
  4. Sep 20, 2026A clever branch free optimization I'm the developer of memlz which is an extremely fast co…
  5. Sep 15, 2026Inside Boost.PolyCollection https://bannalia.blogspot.com/2026/09/inside-boostpolycollecti…
  6. Sep 11, 2026C++26: Standard Library Hardening Experiments https://www.cppstories.com/2026/hardening-ex…
Threads Profile ViewerView any public Threads profile without an account.Open ThreadLook →Writing with AI? Make it sound human.Metric37 rewrites AI drafts so they read naturally. Free AI detector, 1,500 words free.Try Metric37 →