Skip to Content
詳解 Rustアトミック操作とロック ―並行処理実装のための低レイヤプログラミング
book

詳解 Rustアトミック操作とロック ―並行処理実装のための低レイヤプログラミング

by Mara Bos, 中田 秀基
November 2023
Intermediate to advanced
236 pages
3h 24m
Japanese
O'Reilly Japan, Inc.
Content preview from 詳解 Rustアトミック操作とロック ―並行処理実装のための低レイヤプログラミング

まえがき

Rustは、システムプログラミングを行いやすくするために、大きな役割を果たしてきたし、今後も果たしていくだろう。しかし、アトミック操作やメモリオーダリングなどの低レイヤの並行プログラミングに関するトピックは、いまだに何か神秘的なものとして扱われていて、ごく少数の専門家に任せておいた方がいいと考えられている。

過去数年間Rustを用いたリアルタイム制御システムやRust標準ライブラリの開発を行ってきたが、アトミックや関連するトピックに関しては、多くの資料で知りたいと思うことのごく一部しか扱われていないことに気づいた。多くの資料でCやC++に焦点を当てているため、Rustのメモリ安全性やスレッド安全性や型システムとの関連を理解するのが難しい。C++のメモリモデルのような抽象的な理論の詳細に触れている資料はほとんどないし、あったとしても実際のハードウェアとの関連を曖昧にしか説明していない。実際のハードウェアについては、プロセッサの命令やキャッシュの一貫性など、すべてを詳細に扱っている資料があるが、全体を俯瞰して理解するには、さまざまな場所から情報を集める必要があった。

本書は、これらのトピックに関する情報を1つにまとめてつなぎ合わせ、読者が、ハードウェアとOSの役割を十分に理解し、設計上の決定を行い、基本的な最適化のトレードオフを行えるようになり、正しく安全で使いやすい並行プログラミングのプリミティブを自分で構築できるようになるために必要なすべての情報を提供することを目的としている。

対象読者

本書の主要な対象読者は、低レイヤの並行プログラミングについてもっと知りたいと願うRust開発者だ。Rustのことはまだあまり知らないが、Rustの視点から低レイヤの並行プログラミングがどのようなものか知りたいと願う人にも適している。 ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

データ保護完全ガイド ―あらゆるデータの保全と回復を可能にする

データ保護完全ガイド ―あらゆるデータの保全と回復を可能にする

W. Curtis Preston, 佐野 泰之, 池田 祥孝
作って動かすALife ―実装を通した人工生命モデル理論入門

作って動かすALife ―実装を通した人工生命モデル理論入門

岡 瑞起, 池上 高志, ドミニク チェン, 青木 竜太, 丸山 典宏

Publisher Resources

ISBN: 9784814400515Publisher Website