Skip to Content
C#并发编程经典实例(第2版)
book

C#并发编程经典实例(第2版)

by Stephen Cleary
November 2020
Intermediate to advanced
226 pages
5h 34m
Chinese
Posts & Telecom Press
Content preview from C#并发编程经典实例(第2版)
前言
本书封面上的动物是一只寻常的椰子猫,我认为它与本书的主题十分贴切。刚在封面上看
到它时,我对它一无所知,于是便查询了一番。人们将椰子猫视为有害,因为它们在阁楼
里随处排泄,还会极不适时地彼此厮打,制造声响。另外,它们的肛门臭腺会散发出令人
作呕的气味。寻常的椰子猫爱吃咖啡樱桃,经它们消化后会产生咖啡豆。猫屎咖啡是全世
界最昂贵的咖啡之一,其便产自从椰子猫排泄物中所提取的咖啡豆。据美国精品咖啡协会
称:“它的味道很糟糕。”
对于并发编程和多线程编程,寻常的椰子猫是完美的吉祥物。新手程序员一般会对并发编
程和多线程编程避而远之,因为它们会让本来好好的代码以最可怕的方式运行,而且竞争
条件等各类问题会引发严重的崩溃,要么是在生产环境中,要么是在演示样例中,似乎总
是如此。更有甚者称“线程是万恶的”,要彻底规避并发编程。也有一些开发人员体会到
了并发编程的优势,毫无畏惧地应用它。但是,大多数开发人员曾在并发编程中受挫,这
样的经历使他们对其采取避而远之的态度。
然而,如今的用户期望看到完全响应的界面,服务器应用程序也不得不提高至前所未有的
高度,并发编程兼顾了这两大潮流。因此,对现代应用程序来说,并发编程迅速成为了一
种需求。
幸运的是,许多现代程序库能让并发编程变得
简单许多
!并行处理和异步编程已不再是少
数精英独享的领域。这些程序库通过提升抽象层级,使得响应式应用程序和可扩展式应用
程序的开发不再遥不可及,每个开发人员都可以实现。如果在并发编程极其复杂的时代
里,你曾一度受挫,那我鼓励你借助现代工具再次尝试。或许我们永远无法称呼并发编程 ...
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

解密金融数据

解密金融数据

Justin Pauley
PHP编程:第4版

PHP编程:第4版

Kevin Tatroe, Peter MacIntyre

Publisher Resources

ISBN: 9787115550606