this post was submitted on 24 Jul 2026
15 points (85.7% liked)

Programming

28057 readers
349 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



founded 3 years ago
MODERATORS
top 2 comments
sorted by: hot top controversial new old

I support knowing SIMD, but I think it's worth mentioning that with good design depending on language and compiler you can get SIMD for free by auto vectorization.

At least Rust does this, and let's you get away not touching explicit SIMD at all. It's of course more fragile since you don't always know if it's done or not, and they can be skipped for minor changes in code and a, but with good loop hygiene you'll get a lot of it for free.

For truly fast implementations though, handmade SIMDis usually better and faster if done correctly. And can do much more than auto vectorization can.

[โ€“] leds@feddit.dk 1 points 2 weeks ago

I was wondering if numpy does this because that seems obvious when working with array operations anyway but seems partially? https://numpy.org/doc/stable/reference/simd/index.html