logo

Rob Pike – 'Concurrency Is Not Parallelism' [video] (2012)

Posted by jruohonen |3 hours ago |24 comments

thebeardisred an hour ago

bjoli 29 minutes ago[2 more]

It seems like we forgot about lightweight fibers for about 30 years and then collectively rediscovered it in about 2010. sure, Java did green threads, but not like m:n stuff.

I sometimes wonder where we would be now if people would have gone "Wow, mr Reppy! concurrentML is so cool!" in 1993.

instead we got pthreads and collective amnesia and later we got go's girly times and channels which are only half way there.

cassianoleal 3 hours ago[5 more]

Why does Vimeo require me to verify my age in the UK to watch Robert Pike talking computer science?

petilon 23 minutes ago

After watching the video I can see how go lang makes it easier to write correct concurrent programs. But with AI writing the code these days, it is just as "easy" to write correct concurrent programs in Java (because AI is doing the work). Java's virtual threads are light weight, just like go's routines. Java's LinkedBlockingQueue offers roughly the same functionality as go's channels. I would like to hear from go experts as to why I am wrong. Does go have any inherent advantage if AI is writing the code?

DonHopkins 18 minutes ago

Just set the source pile of C++ manuals on fire. No gophers needed!

sulam 2 hours ago[1 more]

To HN moderators: title needs to note that this talk is 13 years old.

davydm 3 hours ago[4 more]

it's an interesting talk, my take being:

concurrency _is_ parallelism, but for I/O. People often think of parallelism for the case of making something go faster - eg placing two computations in parallel (the definition posed in the video), OR placing two I/O operations in parallel - so this is the keyboard-vs-mouse in the OS, even when you're on one core only; this is multiple web requests in JavaScript, which does not support multi-threading, but 100% does support concurrency for I/O operations - that... badum-tiss! RUN IN PARALLEL.

I get the point of the talk, and it's well interesting, but I think it depends on how one views things.

2 hours ago

Comment deleted