Show HN: Spatium – any mathematical space, one C++23 library
Category: library
Tags: geometry, c++23, concepts, riemannian-geometry, physics, rendering
Score: 7.3/10 (Innovation: 8, Technical: 9, Documentation: 7, Utility: 5)
Spatium is a C++23 header-heavy library that unifies geometry, topology, and physics under a concept hierarchy of mathematical spaces, allowing custom spaces to automatically receive mesh, geodesic, and rendering operations. It includes an impressive breadth of features—from Riemannian optimization to a declarative scene DSL—but its ambitious scope and early-stage adoption limit immediate practical utility.
Target audience: C++ developers, researchers in geometry/physics, graphics engineers
Repository: https://github.com/Vaniell0/spatium · C++ · Apache-2.0 · 2 stars
View on Hacker News