{{sellerTotalView > 1 ? __("sellers", {number: sellerTotalView}) : __("seller", {number: sellerTotalView}) }}, {{numTotalView > 1 ? __("items", {number: numTotalView}) : __("item", {number: numTotalView}) }}
free FREE

Change Your Zip Code

Inventory information and delivery speeds may vary for different locations.

Location History

{{email ? __('Got it!') : __('Restock Alert')}}

We will notify you by email when the item back in stock.

Cancel
Yami

Jingdong book

Haskell并行与并发编程

{{buttonTypePin == 3 ? __("Scan to view more PinGo") : __("Scan to start")}}

Haskell并行与并发编程

{{__(":people-members", {'people': item.limit_people_count})}} {{ itemCurrency }}{{ item.valid_price }} {{ itemCurrency }}{{ item.invalid_price }} {{ itemDiscount }}
Ends in
{{ itemCurrency }}{{ item.valid_price }}
{{ itemCurrency }}{{ priceFormat(item.valid_price / item.bundle_specification) }}/{{ item.unit }}
{{ itemDiscount }}
{{ itemCurrency }}{{ item.valid_price }} {{ itemCurrency }}{{ priceFormat(item.valid_price / item.bundle_specification) }}/{{ item.unit }} {{ itemCurrency }}{{ item.invalid_price }} {{itemDiscount}}
{{ itemCurrency }}{{ item.valid_price }}
Sale ends in
Sale will starts after Sale ends in
{{ getSeckillDesc(item.seckill_data) }}
{{ __( "Pay with Gift Card to get sale price: :itemCurrency:price", { 'itemCurrency' : itemCurrency, 'price' : (item.giftcard_price ? priceFormat(item.giftcard_price) : '0.00') } ) }} ({{ itemCurrency }}{{ priceFormat(item.giftcard_price / item.bundle_specification) }}/{{ item.unit }}) Details
Best before

Currently unavailable.

We don't know when or if this item will be back in stock.

Unavailable in your area.
Sold Out

Details

Full product details
Editer Recommend

Haskell并行与并发编程》在读者已经具备一定Haskell使用经验的基础上,展示了如何使用该语言提供的多种API和框架编写并行和并发程序。读者将学到如何通过并行编程利用多核处理器来加速计算密集型的程序,以及如何通过并发编程使用线程编写多交互程序。
作者通过大量可以运行、试验以及扩展的代码示例来引领读者完成本书的阅读。本书将并行Haskell和并发Haskell分成单独的两部分讲解,书中还包括一些练习,用于帮助熟悉以下概念。
● 在Haskell中通过Eval monad和求值策略表达并行性
● 通过Par monad并行化普通的Haskell代码
● 使用Repa库构建基于数组的并行计算
● 使用Accelerate库直接在GPU上运行计算
● 使用一些基本的接口编写并发代码
● 为更大、更复杂的程序构建线程树
● 学习如何构建高速并发网络服务程序
● 编写在网络中的多台机器上运行的分布式程序 本书在读者已经具备一定Haskell使用经验的基础上,展示了如何使用该语言提供的多种API和框架编写并行和并发程序。读者将学到如何通过并行编程利用多核处理器来加速计算密集型的程序,以及如何通过并发编程使用线程编写多交互程序。
作者通过大量可以运行、试验以及扩展的代码示例来引领读者完成本书的阅读。本书将并行Haskell和并发Haskell分成单独的两部分讲解,书中还包括一些练习,用于帮助熟悉以下概念。
● 在Haskell中通过Eval monad和求值策略表达并行性
● 通过Par monad并行化普通的Haskell代码
● 使用Repa库构建基于数组的并行计算
● 使用Accelerate库直接在GPU上运行计算
● 使用一些基本的接口编写并发代码
● 为更大、更复杂的程序构建线程树
● 学习如何构建高速并发网络服务程序
● 编写在网络中的多台机器上运行的分布式程序
Content Description

《Haskell并行与并发编程》深入浅出地介绍如何使用Haskell语言及相关的库和框架编写并行和并发程序。《Haskell并行与并发编程》用两个部分分别讲解并行Haskell编程和并发Haskell编程。根据编程模型的不同,并行部分介绍了3种并行编程方式:基于惰性求值的并行(Eval Monad及求值策略)、基于数据流的并行(Par Monad)以及面向大规模数组算法的并行(Repa数据并行编程和Acellerate GPU编程)。并发部分则按抽象层次由低到高分别涉及线程和MVar、重叠I/O、线程的取消和超时、软件事务内存、高级并发抽象、并发网络服务程序、使用线程并行编程和分布式编程等,还介绍调试、性能调优以及外部函数接口。书中包含大量可运行的代码示例,并附有详细的注释,读者通过亲身运行、修改和调试代码,可极大地加深对书中内容的理解。
《Haskell并行与并发编程》适合有一定Haskell语言基础的程序员或者对并行或并发编程感兴趣的相关人员阅读。
Author Description

Simon Marlow, 是Facebook的软件工程师,Haskell社区的领军人物。他主持了Haskell 2010委员会并担任Haskell语言2010报告的编辑。Simon还是广泛使用的Glasgow Haskell编译器(GHC)的主要开发者之一。
Comments

“这是为从业者而非研究人员彻底、一致地讲解并行和并发函数式编程的书籍。Simon Marlow完全清楚他所介绍的内容:他编写了GHC的并行运行时系统,并且至今仍然是这方面的大师。好样的!”
—— Simon Peyton-Jones,Haskell语言设计者之一
Catalogue

第1章绪论
1.1术语:并行性和并发性
1.2工具和资源
1.3示例代码
第一部分并行Haskell
第2章并行基础:Eval Monad
2.1惰性求值和弱首范式
2.2Eval monad、rpar和rseq
2.3示例:并行化数独解算器
2.4Deepseq
第3章求值策略
3.1参数化策略
3.2列表并行求值策略
3.3示例:K均值问题
3.3.1并行化K均值问题求解
3.3.2性能和分析
3.3.3spark活动可视化
3.3.4粒度
3.4spark垃圾回收与投机并行
3.5使用parBuffer并行化惰性流
3.6分块策略
3.7恒等性
第4章数据流并行:Par Monad
4.1示例:图中的最短路径
4.2流水线并行
4.2.1生产者限速
4.2.2流水线并行的局限性
4.3示例:会议时间表
4.4示例:并行类型推断器
4.5使用不同的调度器
4.6Par monad和策略的对比
第5章Repa数据并行编程
5.1数组、形状和索引
5.2数组运算
5.3示例:计算最短路径
5.4折叠和形状多态
5.5示例:图像旋转
5.6小结
第6章Acellerate GPU编程
6.1概述
6.2数组和索引
6.3运行简单Accelerate计算
6.4标量数组
6.5数组索引
6.6在Acc中创建数组
6.7数组配对
6.8常数
6.9示例:最短路径
6.9.1在GPU上运行
6.9.2调试CUDA后端
6.10示例:Mandelbrot集生成器
第二部分并发Haskell
第7章并发基础:线程和MVar
7.1简单的示例:提醒器
7.2通信:MVar
7.3MVar用作简单通道:日志服务
7.4MVar用作共享状态的容器
7.5MVar用作构件单元:界通道
7.6公正性
第8章重叠I/O
8.1Haskell中的异常
8.2Async的错误处理
8.3合并
第9章线程的取消和超时
9.1异步异常
9.2异步异常的屏蔽
9.3bracket操作
9.4通道的异步异常安全
9.5超时
9.6异步异常的捕获
9.7mask和forkIO
9.8关于异步异常的讨论
第10章软件事务内存
10.1运行示例:窗口管理
10.2阻塞
10.3阻塞直到发生变化
10.4STM的合并
10.5Async的重实现
10.6通道的STM实现
10.6.1更多可能的操作
10.6.2阻塞操作的复合
10.6.3异步异常安全
10.7通道的另一种实现
10.8有界通道
10.9STM的适用性
10.10性能
10.11小结
第11章高级并发抽象
11.1线程泄漏的避免
11.2对称并发组合子
11.3添加函子实例
11.4小结:Async API
第12章并发网络服务程序
12.1简易服务器
12.2包含状态的简易服务器
12.2.1设计一:单一全局锁
12.2.2设计二:每条服务线程一个通道
12.2.3设计三:使用广播通道
12.2.4设计四:使用STM
12.2.5实现
12.3聊天服务器
12.3.1架构
12.3.2客户数据
12.3.3服务器数据
12.3.4服务器
12.3.5设置新客户
12.3.6运行客户处理
12.3.7小结
第13章使用线程并行编程
13.1如何通过并发实现并行
13.2示例:文件搜索
13.2.1串行版本
13.2.2并行版本
13.2.3性能和伸缩性
13.2.4使用信号量限制线程数量
13.2.5ParIO monad
第14章分布式编程
14.1distributed-process及相关软件包
14.2分布式是并发还是并行?
14.3第一个示例:ping
14.3.1进程和Process Monad
14.3.2定义消息类型
14.3.3Ping服务进程
14.3.4主进程
14.3.5main函数
14.3.6Ping示例小结
14.4多节点ping
14.4.1单机运行多节点
14.4.2多机运行
14.5有类型通道
14.6故障处理
14.7分布式聊天服务器
14.7.1数据类型
14.7.2发送消息
14.7.3广播
14.7.4分布式处理
14.7.5测试服务器
14.7.6故障以及增删节点
14.8练习:分布式键值存储
第15章调试、性能调整以及外部函数接口
15.1并发程序调试
15.1.1查看线程状态
15.1.2记录事件日志和ThreadScope
15.1.3死锁检测
15.2并发(和并行)程序的调优
15.2.1创建线程和Mvar操作
15.2.2共享并发数据结构
15.2.3RTS选项的调整
15.3并发和外部函数接口
15.3.1线程和外部对外调用
15.3.2异步异常和外部调用
15.3.3线程和外部对内调用

Specifications

Brand Jingdong book
Brand Origin China

Disclaimer

Product packaging, specifications and price are subject to change without notice. All information about the products on our website is provided for information purposes only. Please always read labels, warnings and directions provided with the product before use.

View Full Terms of Use
Add to favorites
{{ $isZh ? coupon.coupon_name_sub : coupon.coupon_ename_sub | formatCurrency }}
{{__("Buy Directly")}} {{ itemCurrency }}{{ item.directly_price }}
Quantity
{{ quantity }}
{{ instockMsg }}
{{ limitText }}
{{buttonTypePin == 3 ? __("Scan to view more PinGo") : __("Scan to start")}}
Sold by JD@CHINA
Ship to
{{ __("Ship to United States only") }}
Free shipping over 69
Genuine guarantee

Added to Cart

Keep Shopping

More to Consider

{{ item.brand_name }}

{{ item.item_name }}

{{ item.currency }}{{ item.market_price }}

{{ item.currency }}{{ item.unit_price }}

{{ item.currency }}{{ item.unit_price }}

Coupons

{{ coupon.coupon_name_new | formatCurrency }}
Clip Clipped Over
{{ getCouponDescStr(coupon) }}
{{ coupon.use_time_desc }}
Expires soon {{ formatTime(coupon.use_end_time) }}

Share this item with friends

Cancel

Yami Gift Card

Get this exclusive deal when paying with gift card

Terms and Conditions

Gift card deals are special offers for selected products;

The gift card deals will automatically be activated if a customer uses gift card balance at check out and the balance is sufficient to pay for the total price of the shopping cart products with gift card deals;

You will not be able to activate the gift card deals if you choose other payment methods besides gift card. The products will be purchased at their normal prices;

If your account balance is not enough to pay for the products with gift card deals, you can choose to reload your gift card balance by clicking on the Reload button at either shopping cart page or check out page;

Products that have gift card deals can be recognized by a special symbol showing 'GC Deal';

For any additional questions or concerns, please contact our customer service;

Yamibuy reserves the right of final interpretation.

Sold by Yami

Service Guarantee

Yami Free Shipping over $49
Yami Easy Returns
Yami Ships from United States

Shipping

  • United States

    Standard Shipping is $5.99 (Excluding Alaska & Hawaii). Free on orders of $49 or more.

    Local Express is $5.99 (Available in Parts of CA, NJ, MA & PA). Free on orders of $49 or more.

    2-Day Express (Includes Alaska & Hawaii) starts at $19.99.

Return Policy

Yami is committed to provide our customers with a peace of mind when purchasing from us. Most items shipped from Yamibuy.com can be returned within 30 days of receipt of shipment (For Food, Beverages, Snacks, Dry Goods, Health supplements, Fresh Grocery and Perishables Goods, within 7 days of receipt of shipment due to damages or quality issues; To ensure that every customer receives safe and high-quality products, we do not provide refunds or returns for beauty products once they have been opened or used, except in the case of quality issues; Some products may have different policies or requirements associated with them, please see below for products under special categories, or contact Yami Customer Service for further assistance).
Thank you for your understanding and support.

Learn More

Sold by Yami

Terms and Conditions of Yami E-Gift Card

If you choose “Redeem automatically” as your delivery method, your gift card balance will be reload automatically after your order has been processed successfully;

If you choose “Send to Email”as your delivery method, the card number and CVV will be sent to the email address automatically;

Any user can use the card number and CVV to redeem the gift card, please keep your gift card information safely. If you have any trouble receiving email, please contact Yami customer service;

Yami gift card can be used to purchase both Yami owned or Marketplace products;

Yami gift card will never expire;

Yami gift card balance does not have to be used up at once;

All rights reserved by Yami.

Return Policy

Gift card that has already been consumed is non-refundable.

Sold by JD@CHINA

Service Guarantee

Yami Free Shipping over $49
Yami Easy Returns
Yami Ships from United States

Shipping

  • United States

    Standard Shipping is $5.99 (Excluding Alaska & Hawaii). Free on orders of $49 or more.

    Local Express is $5.99 (Available in Parts of CA, NJ, MA & PA). Free on orders of $49 or more.

    2-Day Express (Includes Alaska & Hawaii) starts at $19.99.

Return Policy

You may return product within 30 days upon receiving the product. Items returned must be new in it's original packing, including the original invoice for the purchase. Customer return product at their own expense.

Sold by JD@CHINA

Service Guarantee

Yami Cross-store Free Shipping over $69
Yami 30-days Return

Yami-China FC

Yami has a consolidation warehouse in China which collects multiple sellers’ packages and combines to one order. Our Yami consolidation warehouse will directly ship the packages to your door. Cross-store free shipping over $69.

Return Policy

You may return products within 30 days upon receiving the products. Sellers take responsibilities for any wrong shipment or missing items. Packing needs to be unopened for any other than quality issues return. We promise to pack carefully, but because goods are taking long journey to destinations, simple damages to packaging may occur. Any damages not causing internal goods quality problems are not allowed to return. If you open the package and any quality problem is found, please contact customer service within three days after receipt of goods.

Shipping Information

Yami Consolidation Service Shipping Fee $9.99(Free shipping over $69)

Sellers in China will ship their orders within 1-2 business days once the order is placed. Packages are sent to our consolidation warehouse in China and combined there. Our Yami consolidation warehouse will directly ship the packages to you via UPS. The average time for UPS to ship from China to the United States is about 10 working days and it can be traced using the tracking number. Due to the pandemic, the delivery time may be delayed by about 5 days. The package needs to be signed by the guest. If the receipt is not signed, the customer shall bear the risk of loss of the package.

Sold by JD@CHINA

Service Guarantee

Free shipping over 69
Genuine guarantee

Shipping

Yami Consolidated Shipping $9.99(Free shipping over $69)


Seller will ship the orders within 1-2 business days. The logistics time limit is expected to be 7-15 working days. In case of customs clearance, the delivery time will be extended by 3-7 days. The final receipt date is subject to the information of the postal company.

Yami Points information

All items are excluding from any promotion or points events on Yamibuy.com

Return Policy

You may return product within 30 days upon receiving the product. Items returned must be new in it's original packing, including the original invoice for the purchase. Customer return product at their own expense.

Yami

Download the Yami App

Back Top

Recommended for You

About the brand

Jingdong book

为您推荐

Yami
欣葉
2种选择
欣叶 御大福 芋头麻薯 180g

周销量 600+

$1.66 $1.99 83折
Yami
欣葉
2种选择
欣叶 御大福 芋头麻薯 180g

周销量 600+

$1.66 $1.99 83折
Yami
欣葉
2种选择
欣叶 御大福 芋头麻薯 180g

周销量 600+

$1.66 $1.99 83折
Yami
欣葉
2种选择
欣叶 御大福 芋头麻薯 180g

周销量 600+

$1.66 $1.99 83折
Yami
欣葉
2种选择
欣叶 御大福 芋头麻薯 180g

周销量 600+

$1.66 $1.99 83折
Yami
欣葉
2种选择
欣叶 御大福 芋头麻薯 180g

周销量 600+

$1.66 $1.99 83折

Reviews{{'('+ commentList.posts_count + ')'}}

Have your say. Be the first to help other guests.

Write a review
{{ totalRating }} Write a review
  • {{i}} star

    {{i}} stars

    {{ parseInt(commentRatingList[i]) }}%

Yami Yami
{{ comment.user_name }}

{{ showTranslate(comment) }}Show Less

{{ strLimit(comment,800) }}Show more

Show Original

{{ comment.content }}

Yami
Show All

{{ formatTime(comment.in_dtm) }} VERIFIED PURCHASE {{groupData}}

{{ comment.likes_count }} {{ comment.likes_count }} {{ comment.reply_count }} {{comment.in_user==uid ? __('Delete') : __('Report')}}
Yami Yami
{{ comment.user_name }}

{{ showTranslate(comment) }}Show Less

{{ strLimit(comment,800) }}Show more

Show Original

{{ comment.content }}

Yami
Show All

{{ formatTime(comment.in_dtm) }} VERIFIED PURCHASE {{groupData}}

{{ comment.likes_count }} {{ comment.likes_count }} {{ comment.reply_count }} {{comment.in_user==uid ? __('Delete') : __('Report')}}

No related comment~

Review

Yami Yami

{{ showTranslate(commentDetails) }}Show Less

{{ strLimit(commentDetails,800) }}Show more

Show Original

{{ commentDetails.content }}

Yami
Show All

{{ formatTime(commentDetails.in_dtm) }} VERIFIED PURCHASE {{groupData}}

{{ commentDetails.likes_count }} {{ commentDetails.likes_count }} {{ commentDetails.reply_count }} {{commentDetails.in_user==uid ? __('Delete') : __('Report')}}

Please write at least one word

Comments{{'(' + replyList.length + ')'}}

Yami Yami

{{ showTranslate(reply) }}Show Less

{{ strLimit(reply,800) }}Show more

Show Original

{{ reply.reply_content }}

{{ formatTime(reply.reply_in_dtm) }}

{{ reply.reply_likes_count }} {{ reply.reply_likes_count }} {{ reply.reply_reply_count }} {{reply.reply_in_user==uid ? __('Delete') : __('Report')}}

Please write at least one word

Cancel

That’s all the comments so far!

Write a review
How would you rate this item?

Please add your comment.

  • A nice nickname will make your comments more popular!
  • The nickname in your account will be changed to the same as here.
Thanks for your review
Our community rely on great reviews like yours to find the best of Asia.

Report

If you find this content inappropriate and think it should be removed from the Yami.com site, let us know please.

Cancel

Are you sure to delete your review?

Cancel

You’ve Recently Viewed

About the brand

Jingdong book