DE version is available. Content is displayed in original English for accuracy.
Advertisement
Advertisement
⚡ Community Insights
Discussion Sentiment
83% Positive
Analyzed from 385 words in the discussion.
Trending Topics
#programming#concurrency#parallel#parallelism#different#https#features#code#concepts#com

Discussion (17 Comments)Read Original on HackerNews
not not
Jonathan Worthington, the author of the VM and these features, has given an excellent presentation on the concepts and their implementation.
https://www.youtube.com/watch?v=JpqnNCx7wVY
As I understand it, the parallelism is about task execution and concurrency is about task structure. Or, as Rob Pike said:
"Concurrency is about dealing with lots of things at once. Parallelism is about doing lots of things at once."
He said that in his *Concurrency is not Parallelism" talk.
In the end I don't think it is too much of an issue. What confusion is really brought by conflating parallelism and concurrency? Sure, concurrent programs can be serialized onto a single core (that's how deterministic simulation testing implementations like Antithesis and record & replay implementations like Mozilla's rr operate). But there isn't some deep conceptual unlock you get by having a strict conceptual boundary between concurrency and parallelism.
You can't unit test your way out, but if you care about the code's correctness, today there's a way.
Best examples are SQLite and Jepsen test suites for dbms engines.
https://jepsen.io/
Then comes the parallel debugging.
Pretty soon it's 15 years later, different person, yahoo-wee bro having long moved on.
Ask Claude, which has read all the existing literature on parallel programming, to make the program faster.