Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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!



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




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: