• ryannathans@aussie.zone
    link
    fedilink
    English
    arrow-up
    4
    ·
    4 hours ago

    You don’t need parallelism to have a race condition, just not handling an event with expected timing can cause one - like when two keys are pressed within one polling cycle and you depend on one being pressed before the other for some logic like up and right arrow for a diagonal but they register as right and up so the diagonal movement doesn’t trigger

    Compiler optimisation strategies sometimes use statistical machines and link time optimisation does use random number generators for producing output