/dev/sw0
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
pastermil@sh.itjust.works to Programmer Humor@programming.dev · 1 year ago

That Nim Flashbacks

sh.itjust.works

message-square
56
fedilink
823

That Nim Flashbacks

sh.itjust.works

pastermil@sh.itjust.works to Programmer Humor@programming.dev · 1 year ago
message-square
56
fedilink
  • Daxtron2@startrek.website
    link
    fedilink
    arrow-up
    40
    arrow-down
    1
    ·
    1 year ago

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

    • lad@programming.dev
      link
      fedilink
      English
      arrow-up
      12
      ·
      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
        link
        fedilink
        arrow-up
        3
        ·
        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.

        • lad@programming.dev
          link
          fedilink
          English
          arrow-up
          2
          ·
          1 year ago

          And that makes It good enough for an exam

      • I Cast Fist@programming.dev
        link
        fedilink
        arrow-up
        2
        ·
        1 year ago

        Calm down, satan

    • Alexstarfire@lemmy.world
      link
      fedilink
      arrow-up
      9
      arrow-down
      2
      ·
      1 year ago

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

      • FierySpectre@lemmy.world
        link
        fedilink
        arrow-up
        3
        ·
        1 year ago

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

      • xmunk@sh.itjust.works
        link
        fedilink
        arrow-up
        3
        ·
        1 year ago

        Or even just try to understand pthreads.

        • intensely_human@lemm.ee
          link
          fedilink
          arrow-up
          3
          arrow-down
          1
          ·
          1 year ago

          You’re doing it again

      • lad@programming.dev
        link
        fedilink
        English
        arrow-up
        2
        ·
        1 year ago

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

Programmer Humor@programming.dev

programmer_humor@programming.dev

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: [email protected]

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

  • Keep content in english
  • No advertisements
  • Posts must be related to programming or programmer topics
Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 1.54K users / day
  • 4.87K users / week
  • 9.21K users / month
  • 17.5K users / 6 months
  • 1 local subscriber
  • 23.2K subscribers
  • 1.39K Posts
  • 50.8K Comments
  • Modlog
  • mods:
  • Feyter@programming.dev
  • adr1an@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.10
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org