Remix.run Logo
PunchyHamster 2 hours ago

> If you have statefulness + mutability then you must do away with concurrency; a different way to avoid the same concurrent overwriting problem mentioned above.

Last time I checked we had plenty of concurrency primitives allowing for that; you might need to wait few tens or hundreds of nanoseconds for a lock (or few orders more over network), but it works just fine

naasking 29 minutes ago | parent [-]

All of them depend on temporarily suspending concurrency in order to synchronize. Even atomic exchange operations are like this at the hardware level.

gpderetta 16 minutes ago | parent [-]

Are you implying that a single CPU system can't be concurrent?

naasking 12 minutes ago | parent [-]

What sentence from my post implies that?