top | item 45277324

(no title)

tingfirst | 5 months 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!

discuss

order

yawaramin|5 months ago

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