Skip to content
Opensource internals
  • Posts

Bigint

BigInt: How V8 Implemented BigIntegers

Oct 23, 2026 23 min read Jay Hubbert

V8 stores BigInts as a sign plus a little-endian vector of 64-bit digits in one heap object, with Karatsuba, Burnikel-Ziegler and Barrett behind the arithmetic.

V8InternalsBigintCompilerPerformance

Read more →

© 2026 Jay Hubbert · Built with Hugo 0.168.0

RSS ·