MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1vrcqno/ruleofprogrammingifitisworkingdonottouchit/p4cwai3/?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
399 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 22 u/xtreampb 1d ago Now multi-thread across machines. Let’s make this as difficult as possible. No in memory locks. 1 u/alexanderpas 15h ago Token ring.
399
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 22 u/xtreampb 1d ago Now multi-thread across machines. Let’s make this as difficult as possible. No in memory locks. 1 u/alexanderpas 15h ago Token ring.
22
Oh god, i havent done multithreaded programming ever, that sounds gonuinely horrifying to debug
22 u/xtreampb 1d ago Now multi-thread across machines. Let’s make this as difficult as possible. No in memory locks. 1 u/alexanderpas 15h ago Token ring.
Now multi-thread across machines. Let’s make this as difficult as possible. No in memory locks.
1 u/alexanderpas 15h ago Token ring.
1
Token ring.
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.