Discussion

Show HN: MassifLib++ – Bringing Fortran-style arrays and NumPy operations to C

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.

GitHub: https://github.com/Ferki-git-creator/stdm

3 points Forgret 1 year ago 0 comments

No comments yet

Be the first to share your thoughts.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton