News for hackers. Stuff that matters.
Re:Moving Beyond Type Systems by chuckadams on Friday May 31, 2024 @11:40PM (#40542687)
It’s usually implied that “effect” pertains to observable effects. Anything that doesn’t affect referential transparency gets handwaved away. A memoized function might use a private stateful cache, but as long as it doesn’t affect determinism, you can keep its existence secret.
Re:Moving Beyond Type Systems by _nalply on Saturday June 01, 2024 @09:42AM (#40545668)
A thought stroke me. Security struggles with timing leaks.

That programming language would need something like a timing effect to control timing leaks.

In such a programming language a memoized function is effectful on time.