15 ms·
Does this contain unsafe? Even the Linux kernel's Rust code have memory safety bugs. https://news.ycombinator.com/item?id=46309536 https://news.ycombinator.com/
by yourdetect 9mo ago
Does this contain unsafe? Even the Linux kernel's Rust code have memory safety bugs. https://news.ycombinator.com/item?id=46309536 https://news.ycombinator.com/item?id=46309536
- simgt 9mo ago> git clone https://github.com/math-hiyoko/wavelet-matrix.git https://github.com/math-hiyoko/wavelet-matrix.git && find wavelet-matrix -type f -name '*.rs' -exec grep 'unsafe' {} + No.
- math-hiyoko 9mo agoNo, 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.