Live data from Hacker News

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

vimeo.com

1–10 of 45 posts

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

#3
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.

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

#5
post #4

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

because otherwise how would the queen know what you're up to all the time? :D

Since she was probably sent by God to rule, I assume he called her back upstairs upon her passing. In this case, she can just ask the big man.

Funnily enough, yt-dlp has no trouble downloading it.

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

#6
post #4

Earlier quoted context omitted.

because otherwise how would the queen know what you're up to all the time? :D

Since she was probably sent by God to rule, I assume he called her back upstairs upon her passing. In this case, she can just ask the big man. Funnily enough, yt-dlp has no trouble downloading it.

yeah, i use that often, eg when a video is slow on a website - at least yt-dlp will shard out multiple piece-downloaders, and I can get the video in a few seconds or minutes, and just watch it. Also great for anonymizing sharing videos - download the actual video, share that. Not an url (:

In much the same vein, I rarely actually watch stuff _on_ netflix, through a browser - I watch sped up, and the quality just degrades. Since I pay for it, I feel nothing for downloading a ripped copy to watch it locally :D

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

#7
post #3

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 n…

> concurrency _is_ parallelism, but for I/O.

Not really. They're just separate but related concepts.

E.g. coroutines are a form of concurrency that doesn't have to involve any sort of I/O, you're just taking two logical processes (e.g generating a sequence and consuming it) and abstracting away how they execute relative to each other.

Describing your tasks using the language of concurrency is a requirement for process-based parallelism (multiple CPUs/cores), but data-level parallelism (SIMD) is a form of parallelism that doesn't involve concurrency either.

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

#8
post #3

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 n…

[deleted]

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

#10
post #3

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 n…

[deleted]
Post reply on HN