top | item 42367259

(no title)

lann | 1 year ago

One specific example: many languages use randomized seeds in builtin dict/map types, leading to randomized iteration order.

discuss

order

chubot|1 year ago

Yeah, also Starlark is embedded like Lua, and doesn't come with batteries included like Python

So that means you can control the APIs, and say opendir() closedir() in Unix returns filenames in different orders. Depending on what the data structure in the kernel is

So many programs in other languages aren't deterministic just because they use APIs that aren't deterministic