OmniDiff: Rust में तेज़ Git difftool

मूल शीर्षक: Show HN: OmniDiff – Opensource, super fast, content aware Git difftool, in Rust

यह क्यों महत्वपूर्ण है

Code review tools में structural diffing अभी भी दुर्लभ है; OmniDiff इस gap को Rust की speed से भरने की कोशिश करता है।

डेवलपर ivankovic ने OmniDiff को GitHub पर open-source किया। यह Rust में लिखा content-aware Git difftool है जो 99.95% code changes को 100ms से कम में diff करता है।

OmniDiff एक Git difftool है जो Rust में बना है और content-aware diffing पर ज़ोर देता है। इसका दावा है कि 98.8% बदलावों को content-specific algorithms से process किया जाता है — सिर्फ text-level नहीं, बल्कि AST (Abstract Syntax Tree) आधारित structural diffing भी शामिल है।

टूल की बेंचमार्किंग Intel Core i7-1370P वाले T14s लैपटॉप पर की गई। Code के लिए accuracy 98%, Pictures के लिए 96%, Cursors और Message catalogs के लिए 100% बताई गई है। Speed के मामले में लगभग सभी file types के लिए 100ms से कम का समय लगता है।

प्रोजेक्ट में ratatui (terminal UI library) का इस्तेमाल किया गया है। GitHub पर अब तक 303 stars और 6 forks मिले हैं। Repository में AGENTS.md फ़ाइल भी है, जो AI coding agents के लिए निर्देश देती है। दो license हैं — एक open-source और एक commercial। PDFs के लिए test cases की संख्या बहुत कम (दस से कम) होने से उस category के नतीजे सीमित माने जाने चाहिए।

स्रोत

github.com — मूल लेख पढ़ें →