SF Ruby Meetup (September 2024) — Ruby 3 Concurrency & Multi-Core CPUs

Описание к видео SF Ruby Meetup (September 2024) — Ruby 3 Concurrency & Multi-Core CPUs

#kigster #ruby #meetup
A short talk presented at SF Ruby Meetup @ Github Offices on Ruby 3 Concurrency paradigms, how Ractors changed the landscape of multi-core programming and CRuby, plus much more.


Ask me questions below in the comments 💬
Subscribe to my Youtube channel to know more about life in Silicon Valley Tech ‪@kigster‬
Follow me on LinkedIn -   / kigster  
My Portfolio - https://github.com/kigster/
My Blog - https://kig.re/
Consulting https://reinvent.one/


00:00 Headline
00:03 Start
00:14 Topic
00:37 Who am I?
01:16 Core Concepts: Concurrency vs Parallelism
02:22 Core Concepts: Unix Process, Thread
03:08 Core Concepts: Green Threads, Native Threads
04:01 Multi-Threaded
05:46 Multi-Process
07:07 Memory allocation in Threads
07:28 Context switching
08:47 CPU context switching
09:00 Summary: Pre-Ruby 3
10:41 Moore's Law
12:29 Ruby 3 💥💥💥
12:36 Who is this Ractor?
14:35 Examples. Shared Methods
15:08 Examples. Multi-Process
15:42 Examples. Multi-Threaded
16:04 Examples. Multi-Fibers
16:58 Examples. Fibers with scheduler
17:30 Examples. Ractors
18:04 Examples. Magic VIDEO where all CPU cores are busy
19:21 Helpful Gems. Gem " async "
19:53 Helpful Gems. Gem " parallel "
20:18 Conclusion: Processes. Threads. Fibers. Ractors.
21:28 References


A PDF download of the presentation:
• https://kig.re/share/talks/2024-ruby-...

Canva Presentation with Animations:
• https://bit.ly/kigster-ruby-3-concurr...

#konstantingredeskoul

Комментарии

Информация по комментариям в разработке