英文:
How java implements the streams in parallel?
问题
我有一个问题,在互联网上寻找答案已经很久了,我对并发还很陌生,就我所理解的而言,并行与并发是不同的, 并行允许程序更快地执行并利用多核处理器的优势,经过一些研究,我发现我无法在Java中自带实现并行编程,需要获取一些第三方库来实现,我的问题是Java如何在流中实现并行,它使用了哪些包来实现呢?
英文:
I have a question been looking for an answer for a lot in the internet, I'm still new to concurrency, as far as I understand parallel is different from concurrency, parallel allow the program to execute faster and take advantage of multi core processors, after I have done some research I found that I can't do parallel programming nativly in java and I need to get some third-party library for that, my question is how java implemented parallel in streams, what packages it uses to implement that?
专注分享java语言的经验与见解,让所有开发者获益!
评论