Async Python Channels

Python3 has adopted the async programming model. By using the async/await syntax it is possible to implement a CSP like communication interface, without relying on a thread pr. communicating process. The use of the await statement allows the a program to simulate a very large number of processes in limited memory. Basic syntax would be "await channel.write(1)" and similarly "await". This could be extended to be a part of PyCSP.

Tags: CSP

Activities: Design and programming.

Contact: Brian Vinter,

Area: Project Masters