806
That Nim Flashbacks (sh.itjust.works)
you are viewing a single comment's thread
view the rest of the comments
[-] Daxtron2@startrek.website 38 points 1 year ago

Nah Hanoi was easy stuff, first year. Definitely more traumatizing practice problems.

[-] sukhmel@programming.dev 10 points 1 year 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

[-] JohnEdwa@sopuli.xyz 2 points 1 year ago

Assuming 1 second per swap, a 64 disk tower of hanoi would take 585 billion years to solve - it has 2^64 -1 swaps.

[-] sukhmel@programming.dev 1 points 1 year ago

And that makes It good enough for an exam

[-] ICastFist@programming.dev 2 points 1 year ago

Calm down, satan

[-] Alexstarfire@lemmy.world 8 points 1 year ago

Yea, get back to me when you get to parallel programming.

[-] FierySpectre@lemmy.world 3 points 1 year ago

Writing kernels for parallel execution with OPENCL gives me flashbacks every time I remember them

[-] xmunk@sh.itjust.works 2 points 1 year ago

Or even just try to understand pthreads.

[-] sukhmel@programming.dev 1 points 1 year ago

Tis' not hard, just add some sleeps to make sure other thread reads data before it is destroyed 🌚

this post was submitted on 05 May 2024
806 points (100.0% liked)

Programmer Humor

25362 readers
1625 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS