Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Show HN: L-Rep:Geometry engine,GA multivectors,dynamic trees in a single integer (github.com/nahhididwin)
3 points by InputNothing 12 hours ago | hide | past | favorite | discuss
# Elevator Pitch

*Show HN: L-Rep – Geometry engine, GA multivectors, dynamic trees in a single integer*

Imagine every SDF/CSG scene graph, every Conformal Geometric Algebra (CGA) motor, every lock-free octree/BVH node, every piecewise-Chebyshev approximation with provable error bound, and both forward + reverse autodiff — all living inside one single mixed-radix Python int (or future 1024-bit hardware word).

We built L-Representation: a tiny ISA + L-VM + L-ALU micro-architecture that treats this integer as a universal register.

JIT-compiles your operator tree straight into fused L_FIELD_OP + L_GA_MUL primitives

Native L_GA_MUL does dense 5D CGA multiply in a handful of wide-field MACs (hardware estimate: 8–64× faster than current GA libs on FPGA/ASIC)

Dynamic trees are encoded as B-chunked single-integer pointers with atomic L_ALLOC/L_INSERT/L_SPLIT_MERGE — zero pointer chasing, perfect for lock-free multi-thread or hardware

Transcendentals are auto-replaced by piecewise Chebyshev with compiler-guaranteed ε-total error; autodiff is just dual-field layout or a compact tape of the same primitives

Prototype (single-file, included in the .tex) already shows 10–100× per-query speedup on localized SDF raymarching and GA ops vs naive decode-eval-encode.

This is not another math paper. This is an architecture-level unification — the same way RISC-V or LLVM became the substrate for everything else. If anyone with serious FPGA/ASIC budget builds the L-ALU tile, every graphics, robotics, physics sim, and scientific-computing stack suddenly gets a free 10-100× geometry accelerator with provable correctness baked in.

Repo: Paper + full single-file prototype + reproducible benches: + https://github.com/nahhididwin/L-Representation/blob/main/ma...

+ https://github.com/nahhididwin/L-Representation

 help





Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: