【在 c******o 的大作中提到】 : ironically, scala Future has all the merits you like in java. : easy to use, easy to maintain. and not so many ways to write code.
【在 c******o 的大作中提到】 : ironically, scala Future has all the merits you like in java. : easy to use, easy to maintain. and not so many ways to write code.
then it should be similar: http://texh.net/blog/node-js-vs-java-play-framework/ in fact I think depends on the usage, they can be both winners, they use almost same underlying designs. But I will prefer Play to do any backend services.
p*2
47 楼
concurrency level 1000太低了吧?我们都是5K以上。
【在 c******o 的大作中提到】 : then it should be similar: : http://texh.net/blog/node-js-vs-java-play-framework/ : in fact I think depends on the usage, they can be both winners, they use : almost same underlying designs. : But I will prefer Play to do any backend services.
H*S
48 楼
还是有区别的,不管是future还是actor,你都没有办法interrupt thread。Pure Java threading包括纯java线程池提供了更多的flexibility,但是用起来确实要小心一点 。最近在看这本Java Concurrency in Practice收益良多,感谢好虫推荐。
【在 c******o 的大作中提到】 : ironically, scala Future has all the merits you like in java. : easy to use, easy to maintain. and not so many ways to write code.