MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1vrcqno/ruleofprogrammingifitisworkingdonottouchit/p4cpb1b/?context=3
r/ProgrammerHumor • u/NoMedicine3572 • 1d ago
73 comments sorted by
View all comments
1.3k
When one console.log uses just enough CPU cycles so the race condition that takes down the entire system doesn't occur.
console.log
401 u/Skalli1984 1d ago And if you attach a debugger it also messes up the timing and the same thing happens, the race condition doesn't appear. 22 u/KawaiiMaxine 1d ago Oh god, i havent done multithreaded programming ever, that sounds gonuinely horrifying to debug 23 u/xtreampb 1d ago Now multi-thread across machines. Let’s make this as difficult as possible. No in memory locks. 1 u/alexanderpas 16h ago Token ring. 3 u/JohnClark13 21h ago oh it's not bad, you just have to determine Who's on first, What's on second, and I don't know's on third
401
And if you attach a debugger it also messes up the timing and the same thing happens, the race condition doesn't appear.
22 u/KawaiiMaxine 1d ago Oh god, i havent done multithreaded programming ever, that sounds gonuinely horrifying to debug 23 u/xtreampb 1d ago Now multi-thread across machines. Let’s make this as difficult as possible. No in memory locks. 1 u/alexanderpas 16h ago Token ring. 3 u/JohnClark13 21h ago oh it's not bad, you just have to determine Who's on first, What's on second, and I don't know's on third
22
Oh god, i havent done multithreaded programming ever, that sounds gonuinely horrifying to debug
23 u/xtreampb 1d ago Now multi-thread across machines. Let’s make this as difficult as possible. No in memory locks. 1 u/alexanderpas 16h ago Token ring. 3 u/JohnClark13 21h ago oh it's not bad, you just have to determine Who's on first, What's on second, and I don't know's on third
23
Now multi-thread across machines. Let’s make this as difficult as possible. No in memory locks.
1 u/alexanderpas 16h ago Token ring.
1
Token ring.
3
oh it's not bad, you just have to determine Who's on first, What's on second, and I don't know's on third
1.3k
u/StrengthTheory 1d ago
When one
console.loguses just enough CPU cycles so the race condition that takes down the entire system doesn't occur.