Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [concurrency]

Questions related to teaching concurrency and concurrent programming, as well as teaching various methods of creating concurrent operations.

Filter by
Sorted by
Tagged with
18 votes
10 answers
4k views

How to respond to the two-handed approach to swapping

I was introducing lists to someone young (in Scratch). Creating a list is boring, so I opted to introduce something that you can do with lists, but requires some thinking: swapping. I introduced it by ...
cocomac's user avatar
  • 299
10 votes
5 answers
157 views

When should concurrency and parallel multi-processing concepts be introduced?

Given the current trends with Moore's law and computer systems design, where even the cheapest cell phones and Raspberry Pi's, etc., are multi-threaded multi-processors, and any gains in performance (...
hotpaw2's user avatar
  • 1,903
7 votes
2 answers
467 views

Why is the critical-section problem always presented with code in infinite loops?

I've noticed that "all" OS textbooks present the Critical-Section Problem with examples of code that are in infinite loops. E.g., ...
VictorNorman's user avatar
6 votes
5 answers
4k views

Could you recommend books on concurrent programming?

I am self-learning concurrent programming. I have some experience with concurrent programming. Have self learned OS and programming. There are both programming languages and libraries that provide ...
Tim's user avatar
  • 219
2 votes
0 answers
78 views

introduction materials to the actor model?

I am looking for some introductions to the actor model. I don't mind books in specific programming languages, as long as they don't distract away or restrict the presentation of the model Is this a ...
Tim's user avatar
  • 219
1 vote
0 answers
84 views

Multithreading in Programming modules

Bit of a flimsy question, but here goes... My understanding is that multithreading is now a staple of the vast majority of university comp sci programming modules (where the programming language being ...
WobbleMeister's user avatar