Hacker News new | ask | show | jobs
by phkahler 1505 days ago
OpenMP code can be compiled as single threaded on compilers that don't support it without code changes. It's not a language but more like a set of annotations to be added.

I was not aware of C++ having something similar. Is that a new feature?

Edit: YES it's C++17 and later: https://en.cppreference.com/w/cpp/algorithm/execution_policy...