r/ProgrammingLanguages • Futhark • Nov 06 '26

Nondeterminism in Futhark

https://futhark-lang.org/blog/2026-11-04-nondeterminism.html
22 Upvotes

7 comments sorted by

View all comments

2

u/TOMZ_EXTRA Nov 06 '26 edited Nov 06 '26

The "empirically test associativity" link 404s, just so you know.

The correct page is in the examples section (not the blog one).

I think this is the same kind of tradeoff like Haskell's unlawful type classes for floats. I would be interested in how dependently typed languages could make float operations convenient. I've already though about it and decided that there isn't really a way unless you want to create a FakeAssociative type.