Very interesting article!
Very interesting article!
Posted Mar 6, 2025 2:08 UTC (Thu) by bredelings (subscriber, #53082)Parent article: Two new graph-based functional programming languages
Is there some promise of doing optimal reduction by using interaction nets? I seem to recall that optimal reduction was even better than specializing each function for the data it was applied to, but in practice determining the optional reduction order had too much overhead. But perhaps using interaction nets changes that...
Posted Mar 6, 2025 14:08 UTC (Thu)
by daroc (editor, #160859)
[Link]
(Specifically, programs that are well-typed with elementary affine types can be executed optimally; they don't require the use of Lamping's oracle, which eliminates the brackets and lenses from his original algorithm.)
And some of Bend's benchmarks do demonstrate an asymptotic speedup compared to the same algorithm written in Haskell and executed either lazily or strictly. The challenge now is improving Bend's code generation, libraries, runtime, etc. in order to make things usefully faster in practice, as opposed to just in theory.
Very interesting article!
