Hacker News new | ask | show | jobs
by tingfirst 278 days 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!

1 comments

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