Show HN: Arrayops – 100x faster Python array operations with Rust
github.comΒ·7hΒ·
Discuss: Hacker News
Preview
Report Post

arrayops

Fast, lightweight numeric operations for Python’s array.array, numpy.ndarray (1D), and memoryview objects. Built with Rust and PyO3 for zero-copy, memory-safe performance.

✨ Features

  • ⚑ High Performance: 10-100x faster than pure Python loops using Rust-accelerated operations
  • πŸ”’ Memory Safe: Zero-copy buffer access with Rust’s safety guarantees
  • πŸ›‘οΈ Security Focused: Comprehensive input validation, security testing, and dependency scanning
  • πŸ“¦ Lightweight: No dependencies beyond Rust standard library (optional: parallel execution via rayon)
  • πŸ”Œ Compatible: Works directly with Python’s array.array, numpy.ndarray (1D), memoryview, and Apache Arrow buffers - no new types
  • βœ… Fully Tested: 100% code coverage (Python and Rust)
  • …

Similar Posts

Loading similar posts...