发表于2024-05-16
C++ Concurrency in Action 2024 pdf epub mobi 电子书
听说书很好, 在图书馆看到就翻翻, 看了前言的翻译剩下就不想看了, 这翻译的是什么鬼玩意, 一般看过的书也就翻译生硬什么的, 这本书翻译的什么都不通, 错误连出。 改天有空看看英文版吧。真的是哪找的翻译, 一点都不负责, 不说校对下吧, 你翻译的时候想过了吗, 机...
评分英文原版是不可多得的好书,评分低是中文版翻译的渣。 如果愿意花时间把原版硬啃下来,并且切实在代码上实践,辅以工业级库(比如boost,std,folly)的源码学习的话,真的能学到太多太多了。 本书作者是大名鼎鼎的boost库并发的作者,呼应系列名《In Action》。全书围绕真实...
评分作者, 同时也是boost::thread库的(前)作者, 实力碉堡, 你甚至可以在stackoverflow上看到他回答的问题. 看到有书评说C++0x的concurrency的书, 但实际上没有C++0x的语言特性, 新的thread库也能work的很好. 甚至说跳出C++, 光memory model, lock-free, CPU cache line optimizat...
评分最新问题,chaper 6.2.3 find-grained queue,在wait_and_pop和push的同步上调用了condition variable,但是push方法因为notify的时候没有取得wait_and_pop方法的head-lock所以在特殊情况下会导致wait_and_pop方法永远等待下去。 这里是问题的描述 http://stackoverflow.com/ques...
评分最新问题,chaper 6.2.3 find-grained queue,在wait_and_pop和push的同步上调用了condition variable,但是push方法因为notify的时候没有取得wait_and_pop方法的head-lock所以在特殊情况下会导致wait_and_pop方法永远等待下去。 这里是问题的描述 http://stackoverflow.com/ques...
图书标签: C++ Concurrency 并行 编程 并发 C/C++ 多线程 计算机
HIGHLIGHT C++ Concurrency in Action is the first book to market to show how to take advantage of the new C++ Standard and how to write robust multi-threaded applications in C++. DESCRIPTION With the new C++ Standard and Technical Report 2 (TR2), multi-threading is coming to C++ in a big way. TR2 will provide higher-level synchronization facilities that allow for a much greater level of abstraction, and make programming multi-threaded applications simpler and safer. As a guide and reference to the new concurrency features in the upcoming C++ Standard and TR2, this book is invaluable for existing programmers familiar with writing multi-threaded code in C++ using platform-specific APIs, or in other languages, as well as C++ programmers who have never written multithreaded code before. KEY POINTS * When and when not to use concurrency * Concurrency and multi-threading in C++ * Concurrency support in the New Standard * How to improve performance with concurrency * How to manage concurrency * Problems and solutions in sharing data * Synchronization and why we need it * Memory model details
几年前读过一半,感觉还可以,后续可以直接读第二版了。
评分地铁读书系列第二本...原子操作看的想哭,不过还是学到了不少东西。争取在项目重构的时候改改并发。
评分应该是近期讲c++并发比较权威的书了。一些概念也印证了正在向函数式编程靠拢的趋势
评分书是好书,基础大补,但是太不接地气,全篇下来给人一种缺乏站在工程视角只顾自high的感觉(过于 doctrinal ?);比如lock-based design涉及的部分太少了,而部分内容的叙述过于勉强,比如后面在 advanced thread management 里强行展示如何 interrupt a thread (with exception-safety)简直看的人菊花一紧....本身 multithreading 就是极具心智负担的东西,过于强调技巧不见得是好事。最好能结合一些工程实践上的guidelines,免得走偏了回不来
评分几年前读过一半,感觉还可以,后续可以直接读第二版了。
C++ Concurrency in Action 2024 pdf epub mobi 电子书