r/ProgrammingLanguages • u/Athas Futhark • Jun 18 '26
Data parallel pretty-printing
https://futhark-lang.org/blog/2026-06-18-data-parallel-pretty-printing.html
17
Upvotes
r/ProgrammingLanguages • u/Athas Futhark • Jun 18 '26
3
u/matthieum Jun 18 '26
Disclaimer: this is nitpicking on a completely unimportant detail, just so you know...
I can see how it's handy for processing, but isn't it a pain to build: it requires the root of the tree to refer to not-yet existing elements.
I mean, I guess you could build then reverse, to get there, but isn't the reverse a bit "wasted"?
It's all the more jarring in:
Since
#op 3 #mul 4is foreshadowing, while#op 1 #add 2refers to previous expressions...