functional programming - Why OCaml's threading is considered as `not enough`? -


it seems many people saying ocaml not have capacity concurrency , not web server applications.

i learning ocaml's manual. seems ocaml provide concurrency now.

can know why ocaml's concurrency/threading considered bad?

can develop server application in ocaml? problems may meet?

see concurrency vs. parallelism — what's difference?. ocaml's threads offer concurrency, can have next function start before previous 1 finished. ocaml not offer parallelism, when second function starts, first 1 has put on hold. 2 threads cannot run simultaneously, multiple cpu-bound computations in process block each other, , can't max out cpu cores in 1 process.

that's people's beef ocaml's threading. mean can't use ocaml server? no. it's have take account in server design, it's not showstopper. heck, node.js straight-up single-threaded, yet main purpose creating servers.


Comments

Popular posts from this blog

linux - Does gcc have any options to add version info in ELF binary file? -

android - send complex objects as post php java -

charts - What graph/dashboard product is facebook using in Dashboard: PUE & WUE -