@[email protected] to Programmer [email protected] • 7 months agoThat Nim Flashbackssh.itjust.worksmessage-square56fedilinkarrow-up1820
arrow-up1820imageThat Nim Flashbackssh.itjust.works@[email protected] to Programmer [email protected] • 7 months agomessage-square56fedilink
minus-square@[email protected]linkfedilink40•7 months agoNah Hanoi was easy stuff, first year. Definitely more traumatizing practice problems.
minus-squareladlinkfedilinkEnglish12•7 months ago Hanoi […] practice problems. Like you come to the exam and there’s a 64 piece Tower of Hanoi you need to solve manually to pass the exam
minus-squareJohnEdwalinkfedilink3•7 months agoAssuming 1 second per swap, a 64 disk tower of hanoi would take 585 billion years to solve - it has 2^64 -1 swaps.
minus-square@[email protected]linkfedilink9•7 months agoYea, get back to me when you get to parallel programming.
minus-square@[email protected]linkfedilink3•7 months agoWriting kernels for parallel execution with OPENCL gives me flashbacks every time I remember them
minus-squareladlinkfedilinkEnglish2•7 months agoTis’ not hard, just add some sleeps to make sure other thread reads data before it is destroyed 🌚
Nah Hanoi was easy stuff, first year. Definitely more traumatizing practice problems.
Like you come to the exam and there’s a 64 piece Tower of Hanoi you need to solve manually to pass the exam
Assuming 1 second per swap, a 64 disk tower of hanoi would take 585 billion years to solve - it has 2^64 -1 swaps.
And that makes It good enough for an exam
Calm down, satan
Yea, get back to me when you get to parallel programming.
Or even just try to understand pthreads.
You’re doing it again
Writing kernels for parallel execution with OPENCL gives me flashbacks every time I remember them
Tis’ not hard, just add some sleeps to make sure other thread reads data before it is destroyed 🌚