Post by Frantz Maerten

Lead Scientist @ Look Up Geoscience | Visiting researcher | Co-fondateur Terinov, YouWol & Igeoss

๐Ž๐ง๐žโ€‚๐‚++โ€‚๐ฅ๐ข๐›๐ซ๐š๐ซ๐ฒ,โ€‚๐Ÿ๐ข๐ฏ๐žโ€‚๐ฅ๐š๐ง๐ ๐ฎ๐š๐ ๐ž๐ฌโ€‚โ€”โ€‚๐ณ๐ž๐ซ๐จโ€‚๐ก๐š๐ง๐โ€“๐ฐ๐ซ๐ข๐ญ๐ญ๐ž๐งโ€‚๐ฐ๐ซ๐š๐ฉ๐ฉ๐ž๐ซ๐ฌ. Today, ๐ซ๐จ๐ฌ๐ž๐ญ๐ญ๐š (built on C++26 reflection, P2996) is used to bind Bruno Lรฉvy's ๐†๐ž๐จ๐ ๐ซ๐š๐ฆ (INRIA) โ€” one of the best geometry-processing libraries out there โ€” to ๐๐ฒ๐ญ๐ก๐จ๐ง, ๐๐จ๐๐ž.๐ฃ๐ฌ, ๐–๐ž๐›๐€๐ฌ๐ฌ๐ž๐ฆ๐›๐ฅ๐ฒ, ๐‹๐ฎ๐š and ๐“๐ฒ๐ฉ๐ž๐’๐œ๐ซ๐ข๐ฉ๐ญ. The whole binding surface is described in a single manifest.json. Rosetta reflects over ๐†๐ž๐จ๐ ๐ซ๐š๐ฆ's own headers and emits the pybind11 / N-API / embind / sol2 projects automatically โ€” without touching a line of ๐†๐ž๐จ๐ ๐ซ๐š๐ฆ's source. What's exposed today: โ€ข CSG โ€” evaluate OpenSCAD-style programs โ€ข Exact boolean operations (union, intersection, difference) โ€ข Isotropic CVT remeshing, repair, hole filling โ€ข UV-atlas generation (LSCM + xatlas) with texture-coordinate read-back โ€ข Co3Ne surface reconstruction from bare point clouds The same demo pipeline runs in every language and prints the same numbers โ€” from a ๐๐ฒ๐ญ๐ก๐จ๐ง ๐๐ž๐ฌ๐ค๐ญ๐จ๐ฉ ๐ฏ๐ข๐ž๐ฐ๐ž๐ซ remeshing a 55k-triangle model in 0.4 s, to the identical workflow running fully in the ๐›๐ซ๐จ๐ฐ๐ฌ๐ž๐ซ ๐ฏ๐ข๐š ๐ฐ๐š๐ฌ๐ฆ. The point isn't ๐†๐ž๐จ๐ ๐ซ๐š๐ฆ specifically: it's that with static reflection, multi-language bindings become a build artifact, not a maintenance burden. ๐Ÿ”— Geogram: https://lnkd.in/eT5iaJuR ๐Ÿ”— Rosetta: https://lnkd.in/e5jDSTeT ๐Ÿ”— Geogram-Rosetta: https://lnkd.in/ejKBnUrh #cpp #reflection #geometryprocessing #python #webassembly #lua #node #javascript #opensource #geogram #rosetta

Post content