Post #2165141
2026-05-07 16:07 UTC
Replies (2)
-
@joe@f.duriansoftware.com 2026-05-07 16:10
@zwarich@hachyderm.io you could do both unwinding and special ABI like rust is trying to, in order to accommodate panics or other pervasive semi-recoverable failures. but it sounds like a lot of the rust ecosystem is trending toward `panic=abort` as their favored policy? (and of course in C++ land everyone already does -fno-exceptions)
-
@zwarich@hachyderm.io 2026-05-09 15:17
@joe@f.duriansoftware.com I went back and looked at the Metaware docs you posted. I'm somewhat impressed by how many problems are solved by just using their "CPS transform with nested functions" approach. The problem with doing straightforward shallow generators is that it's a pain to get recursive traversals of data structures, but it falls out naturally from their approach. What I'm still unclear about is the natural compiler IR for representing/optimizing such a language.