SciQLop / CDFpp

A modern C++ header only cdf library with Python bindings
MIT License
9 stars 4 forks source link

RUST implementation? #9

Closed jeandet closed 1 year ago

jeandet commented 1 year ago

@HadrienG2 @pwnorbitals I'm considering re-implementing this lib in RUST. This is basically a structured binary files codec. I feel like RUST could helps on some aspects like loading several variables in parallel and fore sure ensure 0 memory hazards as long as I can write this in "safe mode". What is not clear to me is if such piece of code can be written in RUST without unsafe sections? Are there any patterns to map structures on memory or to load such binary files?