News for hackers. Stuff that matters.
Re:God Writes Haskell by tromp on Thursday September 07, 2023 @03:56AM (#37415958)
> Haskell beginners often use lists instead of arrays. You can’t do random access in a linked list, but only access the first element and then the rest of the list. The real world also doesn’t allow you random access, you are limited by the speed of light and have to go from one location to the next.

You don't need arrays for random access though. Haskell trees give you access to 2^n leaves within depth n, which also exceeds physical limitations like the speed of light.

Re:God Writes Haskell by fatfingerd on Thursday September 07, 2023 @04:19AM (#37416113)
But Quantum entanglement seems to be traveling in God's channel, how does that happen if God is using linked lists?
Re:God Writes Haskell by gnull on Thursday September 07, 2023 @06:41AM (#37417050)
What does it have to do with the speed of light?
Re:God Writes Haskell by rowanG077 on Thursday September 07, 2023 @07:00AM (#37417172)
This for sure doesn't violate speed of light. I can also access >>>>>2^n locations within n steps in the real world.
Re:God Writes Haskell by tromp on Thursday September 07, 2023 @08:13AM (#37417801)
In 3-dimensional space you can only access O(n^3) locations in n steps (where a step corresponds to the distance between adjacent locations).
Re:God Writes Haskell by rowanG077 on Thursday September 07, 2023 @08:49AM (#37418150)
You can access infinite locations. Nothing stops you from moving diagonally in an arbitrary angle, move forward and then backwards. I'd hoped my extravagant uses of > made that clear. Reality is practically continuous not discrete.
Re:God Writes Haskell by couchand on Thursday September 07, 2023 @10:14AM (#37419188)
Practically speaking, all of the things you might usefully put in that space are larger than infintesimal, thereby discretizing the volume.
Re:God Writes Haskell by taway1237 on Saturday September 09, 2023 @07:14AM (#37444074)
>Reality is practically continuous not discrete.

Do we actually know this?