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

后端 未结 8 741
我寻月下人不归
我寻月下人不归 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 22:52

    The current version of Ruby 1.9(YARV- C based version) has native threads but has the problem of GIL. As I know Python also has the problem of GIL.

    However both Jython and JRuby(mature Java implementations of both Ruby and Python) provide native multithreading, no green threads and no GIL.

    Don't know about Haskell.

提交回复
热议问题