News for hackers. Stuff that matters.
Re:Show HN: SymForce – Fast symbolic computation, code gener... by snovv_crash on Wednesday May 25, 2022 @06:24AM (#31502521)
How was your experience using this compared with autodiff directly in C++, eg. Jet from Ceres, and depending on the compiler to optimize?
Re:Show HN: SymForce – Fast symbolic computation, code gener... by haykmartiros on Wednesday May 25, 2022 @08:16AM (#31503425)
The paper talks a lot about this, and compares directly in the second and third experiments (code included). Overall we made SymForce largely to improve on autodiff workflows like in Ceres. The combination of symbolic code in Python, automatic computation of tangent space Jacobians, and code generation can simultaneously make it much faster to iterate, much faster at runtime (there is no runtime chain rule as with autodiff libraries), and less code to maintain. We've seen this very directly in production on our drones.