Re:What FreeBSD can offer compared to other operating system...
by sagonar on Wednesday June 08, 2022 @07:24AM
(#31665776)
I think determinism would be way better than a system with some pseudo random setup.
I think hand waving away the specific language used, ie "determinism" without really talking about what it means or why it does (not) matter is dishonest.
[ Parent
| on HN ]
Re:What FreeBSD can offer compared to other operating system...
by Gwypaas on Wednesday June 08, 2022 @07:50AM
(#31665953)
Causality and determinism are different, and it honestly makes sense to have it be random to tease out bugs as early as possible.
For a prime example see hash maps in Go, which is specifically non-deterministic when iterating over them to prevent users from relying on any kind of implicit behavior.
> "When iterating over a map with a range loop, the iteration order is not specified and is not guaranteed to be the same from one iteration to the next."
Re:What FreeBSD can offer compared to other operating system...
by jeffparsons on Wednesday June 08, 2022 @08:50AM
(#31666500)
> [...] prevent users from relying on any kind of implicit behavior.
Except now you just _know_ that somebody out there is using hash map iteration order as a source of entropy. ;)
Re:What FreeBSD can offer compared to other operating system...
by Gwypaas on Wednesday June 08, 2022 @09:46AM
(#31667269)
Hush!
> "Is map iteration sufficiently random for randomly selecting keys?"
https://stackoverflow.com/questions/41019703/is-map-iteratio...