Remix.run Logo
krackers 10 months ago

libdispatch is open-source and cross platform though.

physicsguy 10 months ago | parent | next [-]

Heh, news to me. I've always stuck with OpenMP for cross platform across Mac/Windows/Linux

jshier 10 months ago | parent [-]

Apple specifically compiles OpenMP support out of their builds of clang, so that's never been an easy solution on macOS. Even worse if you want to run on other Apple platforms where an external compiler can't be used.

physicsguy 10 months ago | parent | next [-]

In practice the software I’ve worked on has typically been engineering/scientific. Back in older pre-ARM days that meant Intel compiler toolchain on all platforms.

cvadict 10 months ago | parent | prev [-]

Iirc. you just need the openMP libraries from a compatible version of clang.

10 months ago | parent | prev [-]
[deleted]