COSCUP x RubyConf TW 2021

Introduction to Transactional Memory and Its Implementation
07-31, 10:00–11:00 (Asia/Taipei), TR309
Language: 漢語


Difficulty

入門

Translate Title

Introduction to Transactional Memory and its Implementation

Talk Length

60

您是否知悉並同意如採遠端形式分享,需提供預錄影片(您需同意大會才能接受您的稿件) – yes other info

No

slido url

https://app.sli.do/event/a2zgqicb

hackmd url

https://hackmd.io/@coscup/ryHfQ6vAu/%2F%40coscup%2FHkDJm6PAd

Abstract

Transactional Memory (TM) 是處裡 concurrency 中對於 synchronization 的解法之一,有別於 locking ,這個機制基本上是 lock-free ,在某些情況下可以帶來更好的效能,並且讓 programmer 寫起來更容易許多。隨著硬體慢慢逐步支援相關的機制,讓這項技術廣為使用的時機或許已經接近。所以想跟大家分享一下我目前的一些理解跟實驗。同時也會試著帶大家看一下底層實作方式。

English Abstract

Transactional Memory (TM) is one of the solutions to synchronization in the concurrency. It is different from locking. This mechanism is basically lock-free. In some cases, it can bring better performance and make people write better and easier programs. As the hardware gradually supports related mechanisms, the time to make this technology widely used may be approaching. So I want to share with you some of my current understanding and experiments. At the same time, I will try to show you its implementation.