r/ProgrammingLanguages • u/Athas Futhark • Jan 04 '26
Another termination issue
https://futhark-lang.org/blog/2026-01-04-another-termination-issue.html
18
Upvotes
r/ProgrammingLanguages • u/Athas Futhark • Jan 04 '26
View all comments
9
u/thunderseethe Jan 04 '26
How viable is it to change the semantics of the compiler such that top level definitions are monomorphized but are thunks that get lazily evaluated?
I believe Swift does this for its module level constants. Its also quite common in Rust, but it has to be done explicitly there.