JavaScript并发编程(影印版) 东南大学出版社 下载 pdf 百度网盘 epub 免费 2025 电子书 mobi 在线
JavaScript并发编程(影印版) 东南大学出版社电子书下载地址
- 文件名
- [epub 下载] JavaScript并发编程(影印版) 东南大学出版社 epub格式电子书
- [azw3 下载] JavaScript并发编程(影印版) 东南大学出版社 azw3格式电子书
- [pdf 下载] JavaScript并发编程(影印版) 东南大学出版社 pdf格式电子书
- [txt 下载] JavaScript并发编程(影印版) 东南大学出版社 txt格式电子书
- [mobi 下载] JavaScript并发编程(影印版) 东南大学出版社 mobi格式电子书
- [word 下载] JavaScript并发编程(影印版) 东南大学出版社 word格式电子书
- [kindle 下载] JavaScript并发编程(影印版) 东南大学出版社 kindle格式电子书
寄语:
新华书店正版,关注店铺成为会员可享店铺专属优惠,团购客户请咨询在线客服!
内容简介:
JavaScript已经具备了并发能力,这也解释了为什么这门语言至今仍然屹立于现代web开发的前沿阵地。本书将帮助你深入JavaScript并发编程的世界,演示如何应用其核心原理、关键技术以及工具来应对各种复杂的开发难题。围绕并发编程的三个核心要素:并发、同步和保护(conservation),你将学会如何编写更高效、更富于变化的JavaScript程序,提高用户体验。
书籍目录:
Preface
Chapter 1: Why JavaScript Concurrency?
Synchronous JavaScript
Synchronicity is easy to understand
Asynchronous is inevitable
Asynchronous browsers
Types of concurrency
Asynchronous actions
Parallel actions
JavaScript concurrency principles: Parallelize, Synchronize,
Conserve
Parallelize
Synchronize
The Promise API
Conserve
Summary
Chapter 2: The JavaScript Execution Model
Everything is a task
Meet the players
The Execution environment
Event loops
Task queues
Execution contexts
Maintaining execution state
Job queues
Creating tasks using timers
Using setTimeout
Using setlnterval
Responding to DOM events
Event targets
Managing event frequency
Responding to network events
Making requests
Coordinating requests
Concurrency challenges with this model
Limited opportunity for parallelism
Synchronization through callbacks
Summary
Chapter 3: Synchronizing with Promises
Promise terminology
Promise
State
Executor
Resolver
Rejector
Thenable
Resolving and rejecting promises
Resolving promises
Rejecting promises
Empty promises
Reacting to promises
Resolution job queues
Using promised data
Error callbacks
Always reacting
Resolving other promises
Promise-like objects
Building callback chains
Promises only change state once
Immutable promises
Many then callbacks, many promises
Passing promises around
Synchronizing several promises
Waiting on promises
Cancelling promises
Promises without executors
Summary
Chapter 4: Lazy Evaluation with Generators
Call stacks and memory allocation
Bookmarking function contexts
Sequences instead of arrays
Creating generators and yielding values
Generator function syntax
Yielding values
Iterating over generators
Infinite sequences
No end in sight
Alternating sequences
Deferring to other generators
Selecting a strategy
Interweaving generators
Passing data to generators
Reusing generators
Lightweight map/reduce
Coroutines
Creating coroutine functions
Handling DOM events
Handling promised values
Summary
Chapter 5: Working with Workers
What are workers?
OS threads
Event targets
True parallelism
Types of workers
Dedicated workers
Sub-workers
Shared workers
Worker environments
What's available, what isn't?
Loading s
Communicating with workers
Posting messages
Message serialization
Receiving messages from workers
Sharing application state
Sharing memory
Fetching resources
Communicating between pages
Performing sub-tasks with sub-workers
Dividing work into tasks
A word of caution
Error handling in web workers
Error condition checking
Exception handling
Summary
Chapter 6: Practical Parallelism
Functional programming
Data in, data out
Immutability
Referential transparency and time
Do we need to go parallel?
How big is the data?
Hardware concurrency capabilities
Creating tasks and assigning work
Candidate problems
Embarrassingly parallel
Searching collections
Mapping and reducing
Keeping the DOM responsive
Bottom halves
Translating DOM manipulation
Translating DOM events
Summary
Chapter 7: Abstracting Concurrency
Writing concurrent code
Hiding the concurrency mechanism
Without concurrency
Worker communication with promises
Helper functions
Extending postMessage0
Synchronizing worker results
Lazy workers
Reducing overhead
Generating values in workers
Lazy worker chains
Using Parallel.js
How it works
Spawning workers
Mapping and reducing
Worker pools
Allocating pools
Scheduling jobs
Summary
Chapter 8: Evented IO with NodeJS
Single threaded IO
IO is slow
IO events
Multi-threading challenges
More connections, more problems
Deploying to the Internet
The C10K problem
Lightweight event handlers
Evented network IO
Handling HTTP requests
Streaming responses
Proxy network requests
Evented file IO
Reading from files
Writing to files
Streaming reads and writes
Summary
Chapter 9: Advanced NodeJS Concurrency
Coroutines with Co
Generating promises
Awaiting values
Resolving values
Asynchronous dependencies
Wrapping coroutines
Child Processes
Blocking the event loop
Forking processes
Spawning external processes
Inter-process communication
Process Clusters
Challenges with process management
Abstracting process pools
Server clusters
Proxying requests
Facilitating micro-services
Informed load balancing
Summary
Chapter 10: Building a Concurrent Application
Getting started
Concurrency first
Retrofitting concurrency
Application types
Requirements
The overall goal
The API
The UI
Building the API
The HTTP server and routing
Co-routines as handlers
The create chat handler
The join chat handler
The load chat handler
The send message handler.
Static handlers
Building the UI
Talking to the API
Implementing the HTML
DOM events and manipulation
Adding an API worker
Additions and improvements
Clustering the API
Cleaning up chats
Asynchronous entry points
Who's typing?
Leaving chats
Polling timeouts
Summary
Index
作者介绍:
暂无相关内容,正在全力查找中
出版社信息:
暂无出版社相关信息,正在全力查找中!
书籍摘录:
暂无相关书籍摘录,正在全力查找中!
在线阅读/听书/购买/PDF下载地址:
原文赏析:
暂无原文赏析,正在全力查找中!
其它内容:
书籍介绍
JavaScript已经具备了并发能力,这也解释了为什么这门语言至今仍然屹立于现代web开发的前沿阵地。亚当·布达奇编著的《JavaScript并发编程(影印版)(英文版)》将帮助你深入JavaScript并发编程的世界,演示如何应用其核心原理、关键技术以及工具来应对各种复杂的开发难题。围绕并发编程的三个核心要素:并发、同步和保护,你将学会如何编写更高效、更富于变化的JavaScript程序,从而提高用户体验。
书中通过采用各种开发方法,带领你将这些原理应用于实践。从JavaScriptpromises、webworkers、生成器到函数式编程技术,所有这些知识都将对你的应用程序性能产生实实在在的影响。除此之外,还进一步讨论了NodeJS并发编程。在成长为更优秀的Web开发人员的道路上,本书将助你一臂之力。
网站评分
书籍多样性:6分
书籍信息完全性:8分
网站更新速度:9分
使用便利性:7分
书籍清晰度:7分
书籍格式兼容性:9分
是否包含广告:6分
加载速度:9分
安全性:6分
稳定性:3分
搜索功能:7分
下载便捷性:3分
下载点评
- 图书多(439+)
- 内容齐全(680+)
- 无多页(544+)
- 图文清晰(578+)
- 值得购买(142+)
- 无漏页(111+)
- 四星好评(477+)
- 盗版少(333+)
- mobi(605+)
- 无缺页(568+)
- 强烈推荐(58+)
- 引人入胜(84+)
- 差评(328+)
下载评价
- 网友 寇***音: ( 2024-12-28 11:19:48 )
好,真的挺使用的!
- 网友 通***蕊: ( 2025-01-04 10:01:03 )
五颗星、五颗星,大赞还觉得不错!~~
- 网友 游***钰: ( 2024-12-28 07:03:45 )
用了才知道好用,推荐!太好用了
- 网友 陈***秋: ( 2025-01-20 05:45:39 )
不错,图文清晰,无错版,可以入手。
- 网友 扈***洁: ( 2024-12-23 14:50:45 )
还不错啊,挺好
- 网友 师***怀: ( 2025-01-01 21:15:06 )
好是好,要是能免费下就好了
- 网友 国***芳: ( 2025-01-15 13:43:55 )
五星好评
- 网友 冯***丽: ( 2025-01-08 22:04:08 )
卡的不行啊
- 网友 汪***豪: ( 2025-01-15 05:41:42 )
太棒了,我想要azw3的都有呀!!!
- 网友 石***致: ( 2025-01-16 06:56:32 )
挺实用的,给个赞!希望越来越好,一直支持。
- 网友 索***宸: ( 2025-01-12 11:15:24 )
书的质量很好。资源多
- 网友 郗***兰: ( 2024-12-31 03:34:02 )
网站体验不错
- 网友 谢***灵: ( 2024-12-25 16:37:46 )
推荐,啥格式都有
- 网友 龚***湄: ( 2025-01-18 04:19:11 )
差评,居然要收费!!!
- 网友 宫***玉: ( 2025-01-19 07:30:45 )
我说完了。
喜欢"JavaScript并发编程(影印版) 东南大学出版社"的人也看了
- 出国自助游教室 下载 pdf 百度网盘 epub 免费 2025 电子书 mobi 在线
- 安吾人生谈 下载 pdf 百度网盘 epub 免费 2025 电子书 mobi 在线
- 中国房车旅行生活指南 房车离你并不远 入门手册 家庭房车生活入门书 体验新的生活 旅游生活 房车旅行指导 关于房车的书籍 下载 pdf 百度网盘 epub 免费 2025 电子书 mobi 在线
- 【中商原版】如何问别人肯说 如何说别人想听 大是文化 刘琳 沟通说话 港台原版 下载 pdf 百度网盘 epub 免费 2025 电子书 mobi 在线
- 聪明女人有点坏 下载 pdf 百度网盘 epub 免费 2025 电子书 mobi 在线
- 舌尖上的养生食谱 不时不食的24节气美味攻略 下载 pdf 百度网盘 epub 免费 2025 电子书 mobi 在线
- Frommer's European Cruises and Ports of Call 下载 pdf 百度网盘 epub 免费 2025 电子书 mobi 在线
- 山香2018国家教师资格考试·综合素质历年真题解析及预测试卷:幼儿园 下载 pdf 百度网盘 epub 免费 2025 电子书 mobi 在线
- 设计与手绘丛书:室内设计手绘效果图 下载 pdf 百度网盘 epub 免费 2025 电子书 mobi 在线
- 药学专业知识(一)——国家执业药师资格考试考题纵览与全真模拟系列丛书 下载 pdf 百度网盘 epub 免费 2025 电子书 mobi 在线
书籍真实打分
故事情节:8分
人物塑造:4分
主题深度:9分
文字风格:9分
语言运用:6分
文笔流畅:3分
思想传递:9分
知识深度:8分
知识广度:4分
实用性:4分
章节划分:8分
结构布局:6分
新颖与独特:4分
情感共鸣:7分
引人入胜:8分
现实相关:9分
沉浸感:7分
事实准确性:4分
文化贡献:7分