D2010 Beta:支持多核的完美方式
在我之前关于新 D2010 中的预期功能的问题中,评分最高的答案是“多核支持”。
众所周知,Delphi 从 D2 (IIRC) 开始就支持线程编程,并且在某些领域大量使用。 更具体地说,您认为哪种方式是在 Delphi 中支持并行编程的完美方式? (但不仅如此 - 我们不要将问题完全与 Delphi 联系起来)。
就我个人而言,我倾向于认为组合方法会起作用,具体取决于具体情况:线程(无论如何我们都有它们)、参与者模型和基于任务的方法(实际上接近参与者模型)。
另外,恕我直言,研究一个视觉建模工具来描述参与者之间的交互是非常有趣的。
另外,可视化调试器(可能与上面的工具是同一工具)也会受到欢迎。
一些参考:
你的意见是?
In my previous question about the expected features in the new D2010 one of the highest rated answers was 'Multi-Core Support'.
Well, as we all know Delphi support thread programming since D2 (IIRC) and is used heavily in some areas. More specifically which is, in your opinion, the perfect way to support parallel programming in Delphi? (But not only - let's not tie the question entirely to Delphi).
Personally I tend to see that a combined approach will do, depending on situation: threads (anyway we have them), the actor model and the task-based approach (which is in fact near to the actor model).
Also, IMHO, it would very interesting to investigate a visual modeling tool to describe the interaction between actors.
Also a visual debugger (which perhaps is the same tool with the one above) would be very welcomed.
Some references:
Your opinion which would be?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
使其与 Delphi Prism 中的异步调用兼容,至少在语法上如此。
Make it compatible with the Async calls in Delphi Prism, at least syntactically.