Yeah! So you know that read:T call that you have implemented in Scala?
You know that it could produce a different result on consecutive calls, right? Because the notion of a mutex/lock doesn’t exist in Math. Mathematics doesn’t allow that, because it is not a “pure function”. https://en.wikipedia.org/wiki/Pure_function Non-determinism is the norm in distributed systems. e.g any networked Turing machine.
A bunch of functional programmers would like to have a word with you.
Yeah. I know ;)
You know that it could produce a different result on consecutive calls, right? Because the notion of a mutex/lock doesn’t exist in Math.
Mathematics doesn’t allow that, because it is not a “pure function”.
https://en.wikipedia.org/wiki/Pure_function
Non-determinism is the norm in distributed systems.
e.g any networked Turing machine.
Continue this thread — 6 replies