4 ms·
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")
by tingfirst 1y 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 1y agoAt the OS level, OCaml 5+ and C++ can spawn OS threads. Python can't.