Skip to content
brett hartshorn edited this page Jan 18, 2015 · 6 revisions

Python has many frameworks and libraries for concurrent programming, too many, just take a look at the standard library docs on concurrency: https://docs.python.org/3/library/concurrency.html

Perhaps, the best thing about the Go language, is you do not have to read some huge document like above. You can jump right into concurrent programming with the simple syntax it provides to send and receive data on channels.

Rusthon supports concurrency with channels and <- syntax inspired by Go. This is supported in the Go, Rust and C++ backends. The Rust backend uses the channel implementation from its standard library. The C++ backend uses cpp-channel by Alex Horn. Note cpp-channel is included in Rusthon's source, and gets built along with your code if you use channels: https://github.com/rusthon/Rusthon/blob/master/pythonjs/runtime/c%2B%2B/cpp-channel.h

Sidebar

Clone this wiki locally