Python, Ruby, Haskell - Do they provide true multithreading?

后端 未结 8 659
我寻月下人不归
我寻月下人不归 2021-02-01 22:31

We are planning to write a highly concurrent application in any of the Very-High Level programming languages.

1) Do Python, Ruby, or Haskell support true multithreading?

8条回答
  •  醉酒成梦
    2021-02-01 23:04

    Haskell is suitable for anything. python has processing module, which (I think - not sure) helps to avoid GIL problems. (so it suitable for anything too).

    But my opinion - best way you can do is to select highest level possible language with static type system for big and huge things. Today this languages are: ocaml, haskell, erlang.

    If you want to develop small thing - python is good. But when things become bigger - all python benefits are eaten by miriads of tests.

    I didn't use ruby. I still thinking that ruby is a toy language. (Or at least there's no reason to teach ruby when you know python - better to read SICP book).

提交回复
热议问题