News for hackers. Stuff that matters.
Re:Tao: A statically-typed functional language by solatic on Tuesday July 05, 2022 @11:35PM (#31996386)
If you have a sum type `< a : A | b : B | c : C >.a`, then A, B, and C need to be unfolded. If A itself is of type `< j : J | k : K | l : L >`, and J is also a sum type, etc., then unfolding everything can result in exponential memory usage and exhaust the amount of available memory. Of course there are ridiculously high-memory systems available, but then it's no longer economical.

There are no comments on this comment yet.