推荐用于并行编程方法的良好资源吗? [英] Recommend a good resource for approaches to concurrent programming?

查看:64
本文介绍了推荐用于并行编程方法的良好资源吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我阅读了有关并发的各种内容,但希望找到一个详细说明并比较各种方法的资源。理想情况下,使用线程,例程,消息传递,参与者,期货...无论我还不知道的其他新事物!

I've read various bits and pieces on concurrency, but was hoping to find a single resource that details and compares the various approaches. Ideally taking in threads, co-routines, message passing, actors, futures... whatever else that might be new that I don't know about yet!

谢谢。

推荐答案

我建议并行编程简介通过Pacheco。

I recommend An Introduction to Parallel Programming by Pacheco. It's clearly written, and a good intro to parallel programming.

如果您不关心与语言相关的某些内容,那么实践中的Java并发是一个很好的资源。

If you don't care about something being tied to a language, then Java Concurrency in Practice is a great resource.

Oracle的在线教程是免费的,但可能比您想要的要简洁。

Oracle's online tutorial is free, but probably a bit more succinct than what you're looking for.

话虽如此,最好的老师对于并发可能是经验。我想尝试一些练习,我自己。首先模拟用餐哲学家问题。这是经典。

That being said, the best teacher for concurrency is probably experience. I'd try to get some practice, myself. Start out by making a simulation of the Dining Philosophers problem. It's a classic.

这篇关于推荐用于并行编程方法的良好资源吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆