e***a 发帖数: 1661 | 1 多线程算法 比 刷题网站上的单线程算法 难很多。
想请教 应该看哪几本书? |
p***o 发帖数: 1252 | 2 Is Parallel Programming Hard, And, If So, What Can You Do About It?
Java Concurrency In Practice
【在 e***a 的大作中提到】 : 多线程算法 比 刷题网站上的单线程算法 难很多。 : 想请教 应该看哪几本书?
|
k**********g 发帖数: 989 | 3
你说你要自修多线程,得有个大概的课程范围。否则的话,还是先涉猎一下,或者展开
说说自己的学习目的。如果是纯粹为找工作的话,也请分享你心目中的工作性质。
这一大堆名词,多线程,多核,计算机集群,分布式(图算法,矩阵算法,学习算法,
数据库算法),在线算法,都有相关但不等价。
要搞清楚自己想学甚麽,对自己的理想工作是否有用。否则对雇主来说你的技能只是对
牛弹琴。
【在 e***a 的大作中提到】 : 多线程算法 比 刷题网站上的单线程算法 难很多。 : 想请教 应该看哪几本书?
|
c*****e 发帖数: 3226 | 4 推荐 actor based model.
【在 p***o 的大作中提到】 : Is Parallel Programming Hard, And, If So, What Can You Do About It? : Java Concurrency In Practice
|
k**********g 发帖数: 989 | 5 真正的并行算法和软件开发是多范式的,看哪个适合用哪个。例如Hadoop就是 Bulk
Synchronization 的例子,有长处有短处,某些算法用Hadoop是不适合的。
http://en.wikipedia.org/wiki/Bulk_synchronous_parallel
如果是面试当然不会深究,一般只会问 java.util.concurrent 和 java memory model
(所谓 happens-before 的教条)。 |
a****l 发帖数: 8211 | 6 1)parallel programming is hard, because there are so many stupid /
inexperienced people programming it thinking it is easy.
2)stop hiring people for programming just because the labor cost is lower.
stop outsourcing the work to external contractors.
【在 p***o 的大作中提到】 : Is Parallel Programming Hard, And, If So, What Can You Do About It? : Java Concurrency In Practice
|
p***o 发帖数: 1252 | 7 That's not a question but the name of the book ...
【在 a****l 的大作中提到】 : 1)parallel programming is hard, because there are so many stupid / : inexperienced people programming it thinking it is easy. : 2)stop hiring people for programming just because the labor cost is lower. : stop outsourcing the work to external contractors.
|
l*********s 发帖数: 5409 | 8 :-)
【在 p***o 的大作中提到】 : That's not a question but the name of the book ...
|
w***x 发帖数: 105 | 9 个人觉得先学点基本知识,比如pthread的各个api要弄明白,然后看看相关的linux
kernel代码,具体到某个cpu架构下如何实现,然后看cpu spec弄懂具体怎么回事,接
着可以看看lock free的一些实现。到此可以说真正明白了多线程编程是怎么回事。有
了这些基础知识,理解更高阶的算法或者coding实现一些多线程的应用,就会得心应手
了。 |
s****y 发帖数: 15 | 10 threading in c#
online free book.... |