When building RAG or document search pipelines, heavy JVM or Python-only parsers often become the bottleneck in cold-start latency and RAM usage.
I have been maintaining and upgrading the classic SILVERCODERS DocToText C/C++ library under DocToText-Enhanced (DocToText-enh) , keeping it dependency-light (no JVM or Python runtime required) while modernizing layout extraction and FFI stability.
GitHub: https://github.com/lilucpp/doctotext
Docs & Benchmarks: https://lilucpp.github.io/doctotext/
What Is Enhanced Over Original DocToText
PDF Reading Order & Completeness : Orders multi-column text and formula baselines by page coordinates, removes repeated footers, and extracts PDF attachments, annotations, and form fields.
Decoupled Image & OCR Callback : No bundled vision bloat.…