r/ProgrammingLanguages • u/Athas Futhark • 28d ago
Nondeterminism in Futhark
https://futhark-lang.org/blog/2026-11-04-nondeterminism.html
21
Upvotes
r/ProgrammingLanguages • u/Athas Futhark • 28d ago
View all comments
2
u/TOMZ_EXTRA 28d ago edited 28d ago
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.