由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Programming版 - 多线程编程前景如何?
相关主题
c++下如何实现多线程?openMP or boost::thread (pthread) for multithreading ?
写thread safe程序现在也是程序员必须要掌握的了吧多线程的thread safety checking tool?
多线程 编程,process 和 thread 的一些问题。Perl多线程的问题
用多线程怎么比单线程还慢呢?p-thread profiling
推荐一下C++多线程的书吧【求助】Fortran多线程执行效率问题
C++多线程和硬件的关系为什么VC6调试多线程Debug菜单下的Threads是灰的?
如果一个core,多线程还有必要吗?多线程有什么优化的方法?
怎么练习multi-threading,平常工作都是用Java框架多线程计时不准std::thread尝鲜 问题
相关话题的讨论汇总
话题: 多线程话题: program话题: 主流
进入Programming版参与讨论
1 (共1页)
c***c
发帖数: 21374
1
现在N core的处理器越来越多了
专门针对多线程优化过的应用还不够多
多线程编程,特别c/c++多线程编程,会在啥时候成为主流呢?
k****n
发帖数: 1334
2
现在就是主流了

~~~~~~~~~~~~无数公司现在在做这个,multicore manycore的

【在 c***c 的大作中提到】
: 现在N core的处理器越来越多了
: 专门针对多线程优化过的应用还不够多
: 多线程编程,特别c/c++多线程编程,会在啥时候成为主流呢?

c***c
发帖数: 21374
3
无数先烈的后备人选
先驱还要时日

manycore的

【在 k****n 的大作中提到】
: 现在就是主流了
:
: ~~~~~~~~~~~~无数公司现在在做这个,multicore manycore的

l*******9
发帖数: 177
4
怎么定义主流,现在流派太多了看不出什么耕牛?

关键是需求,有多少东西值得多线程?需求多了,应用自然会更丰富。。
现在提供thread-safe的编程语言多了,为什么一定要C/C++ ?

【在 c***c 的大作中提到】
: 现在N core的处理器越来越多了
: 专门针对多线程优化过的应用还不够多
: 多线程编程,特别c/c++多线程编程,会在啥时候成为主流呢?

c***c
发帖数: 21374
5
主流,我想就是市面上绝大多数应用程序在设计和写代码的时候都默认
考虑到了多处理器多线程的情况。现在的形势显然不是的,wired上面就报到
过intel怎么向ms抱怨说ms的操作系统无法体现现在intel的技术进步

【在 l*******9 的大作中提到】
: 怎么定义主流,现在流派太多了看不出什么耕牛?
:
: 关键是需求,有多少东西值得多线程?需求多了,应用自然会更丰富。。
: 现在提供thread-safe的编程语言多了,为什么一定要C/C++ ?

g*****g
发帖数: 34805
6
不需要多线程的程序永远不需要多线程来实现,
绝大部分个人软件都不需要多线程。需要多线程
的是网络程序,科学计算程序,服务器
程序。
所以个人软件上多线程恐怕永远不会成为主流,单线程
已经实时了,你多线程干啥呢?
至于服务器上,多线程已经主流了吧。至少俺们做企业应用
的java程序员是这样。

【在 c***c 的大作中提到】
: 现在N core的处理器越来越多了
: 专门针对多线程优化过的应用还不够多
: 多线程编程,特别c/c++多线程编程,会在啥时候成为主流呢?

a****l
发帖数: 8211
7
you will rarely see a program that is strictly sequential thus hard to use
multi-threading. There are always works in a program that can parallalized.


【在 g*****g 的大作中提到】
: 不需要多线程的程序永远不需要多线程来实现,
: 绝大部分个人软件都不需要多线程。需要多线程
: 的是网络程序,科学计算程序,服务器
: 程序。
: 所以个人软件上多线程恐怕永远不会成为主流,单线程
: 已经实时了,你多线程干啥呢?
: 至于服务器上,多线程已经主流了吧。至少俺们做企业应用
: 的java程序员是这样。

g*****g
发帖数: 34805
8
The problem is not whether a program can be parallelized,
but whether it needs to be parallelized. Human being can
not tell the difference of 10ms and 20ms, if it's fast
enough, you don't need more performance. Today's PC's at
that stage for most programs.
Name commonly seen desktop program which can
benefit from multi-threading and haven't.

parallalized.

【在 a****l 的大作中提到】
: you will rarely see a program that is strictly sequential thus hard to use
: multi-threading. There are always works in a program that can parallalized.
:

a****l
发帖数: 8211
9
the programs that need performance boost most are not desktop applications.
Actually, I am using loptop applications (windows, browser, text-editing)
on a very old computer, and it's not too bad at all.

【在 g*****g 的大作中提到】
: The problem is not whether a program can be parallelized,
: but whether it needs to be parallelized. Human being can
: not tell the difference of 10ms and 20ms, if it's fast
: enough, you don't need more performance. Today's PC's at
: that stage for most programs.
: Name commonly seen desktop program which can
: benefit from multi-threading and haven't.
:
: parallalized.

g*****g
发帖数: 34805
10
Then what are you arguing about? I guess you don't read my post at all.

.

【在 a****l 的大作中提到】
: the programs that need performance boost most are not desktop applications.
: Actually, I am using loptop applications (windows, browser, text-editing)
: on a very old computer, and it's not too bad at all.

k*k
发帖数: 508
11

~~~~~~~~~~~~~~~~~~~~~~
“永远”这个词说实话还是不要提的好,谁知道未来几十年计算机会变成什
么样子举例来说,现在咱们都是用键盘鼠标输入,未来可能语音识别或者
gesture 识别会成为主流,这些都需要强大的计算能力,而且我看不出来为
啥他们不能被并行化。

【在 g*****g 的大作中提到】
: 不需要多线程的程序永远不需要多线程来实现,
: 绝大部分个人软件都不需要多线程。需要多线程
: 的是网络程序,科学计算程序,服务器
: 程序。
: 所以个人软件上多线程恐怕永远不会成为主流,单线程
: 已经实时了,你多线程干啥呢?
: 至于服务器上,多线程已经主流了吧。至少俺们做企业应用
: 的java程序员是这样。

m******t
发帖数: 2416
12

Yeah, I'd be careful with this "never" business, too. 8-)
Lots of non-trivial desktop applications today already run multiple threads.
It's just we don'g feel it because most of those threads are an once-off
thing that does a particular job - for instance, Word uses a worker thread
to do pagination. Acrobat Reader uses a background thread to keep loading
the rest of a large pdf file while the user views the first pages.

【在 g*****g 的大作中提到】
: 不需要多线程的程序永远不需要多线程来实现,
: 绝大部分个人软件都不需要多线程。需要多线程
: 的是网络程序,科学计算程序,服务器
: 程序。
: 所以个人软件上多线程恐怕永远不会成为主流,单线程
: 已经实时了,你多线程干啥呢?
: 至于服务器上,多线程已经主流了吧。至少俺们做企业应用
: 的java程序员是这样。

g*******e
发帖数: 1706
13
We already learned a lot from those parallel computers (such as Cray).
1 (共1页)
进入Programming版参与讨论
相关主题
多线程计时不准std::thread尝鲜 问题推荐一下C++多线程的书吧
问个白痴问题C++多线程和硬件的关系
有人熟悉Python里的threading吗如果一个core,多线程还有必要吗?
c++多线程的工作面试一般会问哪些问题?怎么练习multi-threading,平常工作都是用Java框架
c++下如何实现多线程?openMP or boost::thread (pthread) for multithreading ?
写thread safe程序现在也是程序员必须要掌握的了吧多线程的thread safety checking tool?
多线程 编程,process 和 thread 的一些问题。Perl多线程的问题
用多线程怎么比单线程还慢呢?p-thread profiling
相关话题的讨论汇总
话题: 多线程话题: program话题: 主流