Hasty Briefsbeta

Bilingual

Simdutf Can Now Be Used Without libc++ or libc++abi

2 days ago
  • Simdutf can now be compiled without dependencies on libc++ or libc++abi, as demonstrated by a recent pull request.
  • Removing libc++ dependencies enhances portability, simplifies cross-compilation, reduces binary size, and eases static linking.
  • The removal involved two parts: libc++ (standard library) replaced via a custom stl_compat.h header, and libc++abi (ABI) addressed by replacing function-local statics and providing a shim for pure virtual functions.
  • Extensive validation included running test suites and benchmarks in both normal and NO_LIBCXX modes, and verifying Ghostty's UTF-8 decoding performance remained unaffected.
  • The contributor manually reviewed the entire diff, wrote a detailed PR description, and disclosed AI assistance while ensuring full human oversight.
  • The Ghostty PR to use the new simdutf build has been merged, while the simdutf PR remains under review with positive initial feedback.