Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
mrkeen
3mo ago
0 comments
Save
Share
It made no reference to the 'shared' in 'shared state'.
No mention of asynchrony, multithreading, or the race condition that TFA encountered.
0 comments
1 comments · 1 top-level
top
newest
oldest
seanhunter
3mo ago
The “attempt 2” was literally a state machine implementation which the author rejected because they didn’t know how to do it properly and so did it badly using a bunch of if then else logic.
j
/
k
navigate · click thread line to collapse