The problem is that "have no side effects" is a really wonky category. Consuming cpu time is a side effect from the view of a side channel attack. No side effects from the view of the program works better but runs into other issues.
Also, the world-passing thing is more of an implementation detail of the current implementation of monadic io in ghc - it just encodes the implicit sequencing similar to a memory barrier in cpu's.
And tco is used in a ton of non-pure functional languages. Well, your definition of functional includes languages like java so maybe it isn't the majority but virtually all traditional functional languages at least allow it.
0
u/[deleted] Oct 13 '17
[deleted]