多核心编程是一个现在的程序员必须去了解的技术,和原来的单核技术不一样,多核编程更讲究程序的架构,任务的分配,每个处理机的负载。我们现在用的多核编程工具注意是面向共享存储机制的openMP,主要利用的共享内存保护机制是分布式锁机制。
对,随着多核处理器时代的到来,函数式编程语言似乎更适合新的硬件架构。
Well, which the advent of multicore processors, functional programming languages seems naturally suited to the new hardware architectures.
总之,这就是为什么不难理解在多核芯片广泛使用的五年间,并行编程上却很少有进展的原因。
In all, it is not hard to see why there has been so little progress in parallel programming, even though multicore chips have been widespread for five years.
世上没有免费的午餐,但基于角色的框架确实使并发编程以及利用多核进程变得更加简单。
No free lunch is involved, but an actor-based framework does make concurrency programming, and leveraging multicore processes, much easier.
应用推荐