Elektrine lite

← Feed

@slomo@toot.cat

Post #2598497

2023-03-19 09:02 UTC

@saagar@federated.saagarjha.com Why would you want to keep the order unspecified though? But as I mentioned elsewhere, the code in question wouldn't compile at all with Rust for other reasons. Not just a warning.

Replies (1)

  • @slomo@toot.cat Preventing mutation from two places is nice but there is of course always ways to get nondeterministic results from unspecified evaluation in most languages, including Rust (stdout is effectively capable of being mutably referenced from multiple places, for example).

    Open ##2598498