0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

libc++ で parallel STL は対応していない(2021/10/06 clang-12 時点)

Last updated at Posted at 2021-10-06

Parallel STL は libc++ では対応していませんでした. :cry:

https://en.cppreference.com/w/cpp/compiler_support
(std::execution あたり検索するとよい)

gnustl では tbb 依存ですが一応サポートしています.

libc++ で tbb 非依存で pstl 対応はいつになるかわかりませんので(あと 3~4 年後くらい?), C++17 or later でポータブルな並列処理をするなら現状では(今までどおり)自前で std::thread あたりでマルチスレッドコードを書くしかないです...

pstl の repo があるが, 実装ステータスは不明.
また, 現状のコードは結局 tbb 依存...(tbb 依存本当にやめてほしい)

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?