Remix.run Logo
tingfirst 10 hours ago

For parallel programming, what's OS-level difference compared to languages like Python or modern C++?

Domain.spawn (fun _ -> print_endline "I ran in parallel")

Anyway, love the simplicity of this expression!

yawaramin an hour ago | parent [-]

At the OS level, OCaml 5+ and C++ can spawn OS threads. Python can't.