Ceres Solver, GSL, and Gtsam in WASM

(npmjs.com)

1 points | by gabelerner 4 hours ago ago

1 comments

  • gabelerner 4 hours ago ago

    As an exercise for myself, I threw some AI tokens at converting a few math libraries to Wasm for browser/node use. There have been posts on HN that convert similar libraries to pyodide but that adds another level of abstraction and going straight to Wasm retains performance.

    You can use the pre-built npm packages or compile yourself from source following instructions on the individual git repos:

    ceres-solver: https://github.com/bare-wasm/ceres GSL: https://github.com/bare-wasm/gsl GTSAM: https://github.com/bare-wasm/gtsam

    Taking requests to convert any other c++ libs out there if there's demand for it.