fermi-ad / controls

Central repo for reporting bugs, making feature requests, managing RFCs, and requesting seminar topics.
https://www-bd.fnal.gov/controls/
2 stars 0 forks source link

Concurrency 101 #61

Open beauremus opened 5 months ago

beauremus commented 5 months ago

Recently, there have been multiple requests for Pythong threading support in Slack. An introduction to concurrency best practices and some examples in Python could be impactful.

beauremus commented 5 months ago

I named this concurrency after @cnlklink shared this idea, but after talking with @rneswold, I think we should better detail the scope of this presentation.

Some ideas for topics:

Please share your ideas of topics and maybe what topics could be one presentation.

rneswold commented 5 months ago

Would this talk focus on Python's implementations?

beauremus commented 5 months ago

I think that's likely a good use case. Is it possible to talk about these things (usefully) without a specific language in mind? Should we consider Rust or Java? I don't think we'd consider anything else.

rneswold commented 5 months ago

For Python and Java, threading is most common. Async is new-ish for Python (and the API keeps getting tweaked.)

For Rust, JavaScript, and Dart, async is the thing to talk about. (Rust has threads, too, but their async stuff does it right, so threads aren't a huge gain for parallel computations.)