← concepts · the commons
shared state
6 moment(s) that assert this concept — showing 1–6 of 6
strong6 independent sources · cross-lingual (en, vi)
↣ how this spread over time →NYC Systems · youtube · en
1A network file system exemplifies share-by-reference editing, where multiple users access a shared state, leading to race conditions when edits are made independently and not synchronized.
“a network file system is actually an example of the pass by or the share by reference type of uh editing because you kind of are referring to something on a shared uh a shared state that you both access”
spoken · 332s · 2024-03-06
Together with Physics · youtube · vi
2Quantum entanglement is a phenomenon where two or more particles share a single quantum state, and a change to one instantly affects the other, regardless of distance.
“sự rối lượng tử là một hiện tượng trong Vật Lý học mà hai hay nhiều hạt lượng tử liên kết với nhau một cách mạnh mẽ đến mức trạng thái của một hạt sẽ ngay lập tức ảnh hưởng đến trạng thái của hạt kia dù chúng ở cách xa nhau đến đâu”
spoken · 571s · 2024-08-29
Google TechTalks · youtube · en-US
3Using atomic operations ensures correctness in parallel addition by preventing concurrent modification of shared state.
“make that Atomic great now the program is correct”
spoken · 289s · 2016-01-28
Strange Loop Conference · youtube · en-US
4A data race occurs when two threads access shared state concurrently and at least one of them writes to it without proper synchronization.
“in order to have a day or race you need at least two threads and you need some shared state and now shared state is just some data that all your bit multiple threads can see it could be one byte it could be a megabyte it doesn't really matter conceptually we're just going to think of it as some Sun box here that both of the threads can see”
spoken · 707s · 2017-10-02
Edward Kmett · youtube · en
5Functional Programming reduces reliance on shared state and avoids locking issues by enabling pure functions and immutable data, leading to better concurrency and scalability.
“FP must be the solution is all the bottlenecks we have in all these cases they all have to do with notions of shared SC state. So we have the same the same reason FP is a good solution whenever we talk about concurrency and of course it's not the magic bullet for concurrency but you need to adopt FP principles when you move to a concurrent setting because shared memory is evil”
spoken · 286s · 2014-07-05
Øredev Conference · youtube · en
6Erlang enforces immutability and message passing to avoid shared state and prevent concurrency issues, using isolated processes as the unit of concurrency.
“immutability is built in you cannot produce shared state in the normal space of a program and it implements something called processes uh as the primary uh isolated processes as the U unit of concurrent execution”
spoken · 589s · 2024-01-22