477

(Please don't lob rocks at me. I love Python.)

you are viewing a single comment's thread
view the rest of the comments
[-] mkwt@lemmy.world 7 points 3 days ago

Matlab's syntax for matrices actually derives from Fortran. There's a lot of flexibility in Fortran's array features for

  • multidimensional arrays
  • arrays of indeterminate and flexible length
  • vectorized operations on arrays without explicitly writing loops.

Because Fortran does not have a pointer in the sense of C, the Fortran compiler is free to make several optimization that a C compiler can't. Compiled Fortran is often faster than C code that does the same thing.

this post was submitted on 15 May 2025
477 points (98.2% liked)

Programmer Humor

23345 readers
617 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS