Menu

#Hdf5

3 posts

Feed·
3 of 3 posts
Read and Write MATLAB .mat Files in Go Without CGO: Files That Read as Empty, and MATLAB Files We Couldn't Open
📰
0Read More

Read and Write MATLAB .mat Files in Go Without CGO: Files That Read as Empty, and MATLAB Files We Couldn't Open

DEV Community: datascience·Andrey Kolkov·5 days ago
#cbyH6ZA2
#devtodatascience#science#devto#dev#matlab

scigolib/matlab v0.3.19 reads and writes MATLAB .mat files (v5, v7.3) in pure Go (Golang), no cgo. The bugs our tests couldn't see: compressed files read as empty, MATLAB's own v7.3 header.

15s
HDF5 in Pure Go, No CGO: a 5 KB File That Allocated 40 GB, and Round-Trip Tests That Lied
🖼️
0Read More

HDF5 in Pure Go, No CGO: a 5 KB File That Allocated 40 GB, and Round-Trip Tests That Lied

DEV Community: go·Andrey Kolkov·5 days ago
#3e3UJ8TM
#devtogo#devto#dev#hdf5#library

scigolib/hdf5 reads and writes HDF5 in pure Go. v0.14.3 closes a class of crafted-file allocations, makes compound datasets readable by h5py, and stops returning packed bytes as values. Here's what broke and how I check it now.

15s