grug, like all sane developer, fear concurrency

  • Shinji_Ikari [he/him]
    hexagon
    ·
    1 year ago

    I went from C threads, then confused by python async, to learning go and calling a function as a goroutine. I rather do C threads than figure out wtf is going on with async stuff.

    • PaX [comrade/them, they/them]
      ·
      edit-2
      1 year ago

      (c/g)oroutines are awesome. If you ever get tired of the POSIX thread grindset you might like something like this. Goroutines actually directly followed from the work done with "Communicating Sequential Processes" at Bell Labs with Alef's threading model and Plan 9's libthread.

    • MarxGuns [comrade/them]
      ·
      1 year ago

      I didn't really get async until I saw it done in Rust. I still like using thread pools and plain old threads though. If you like C threading then you'd probably like Rust.