News for hackers. Stuff that matters.
Re:Show HN: High-Performance Wavelet Matrix for Python, Impl... by yourdetect on Thursday December 18, 2025 @04:12AM (#46310473)
Does this contain unsafe? Even the Linux kernel's Rust code have memory safety bugs. https://news.ycombinator.com/item?id=46309536
Re:Show HN: High-Performance Wavelet Matrix for Python, Impl... by simgt on Thursday December 18, 2025 @04:23AM (#46310553)
> git clone https://github.com/math-hiyoko/wavelet-matrix.git && find wavelet-matrix -type f -name '*.rs' -exec grep 'unsafe' {} +

No.

Re:Show HN: High-Performance Wavelet Matrix for Python, Impl... by math-hiyoko on Thursday December 18, 2025 @04:25AM (#46310560)
No, the library itself does not use unsafe Rust at all. The Python bindings are built using PyO3, which internally uses unsafe (as required to interface with the CPython C API), but that is fully encapsulated within PyO3. The core data structure and algorithms remain purely safe Rust.