Show HN: MassifLib++ – Bringing Fortran-style arrays and NumPy operations to C
1 Forgret 0 9/12/2025, 10:18:20 AM
I've been working on a C library that combines the best features of Fortran's multi-dimensional arrays with NumPy's expressiveness and Julia's performance.
Key features:
· Fortran-style column-major arrays with A[i,j] indexing
· NumPy-like operations (element-wise math, slicing, broadcasting)
· Memory-safe allocation/deallocation
· Efficient views instead of copies for slicing operations
· Linear algebra support (matmul, transpose, etc)
It's written in pure C99 with no dependencies beyond standard math libraries. Perfect for scientific computing where you need both performance and expressiveness in C.
No comments yet