Could this be rewritten in a native language (Rust, C, etc.)? Requiring the Python runtime makes using this a nonstarter in a constrained environment.