go-python / go-python/gopy

Document concurrency

Open
#223 3 comments 1 reaction 0 assignees View on GitHub
Dominant language
Go
Stars
2.3k
Forks
136
Avg merge
14m
Merged PRs (30d)
2

Description

I'm curious what model is used to bridge Python and golang concurrency models.
I wish it was documented :)

Python has threads (1:1 mapped to lightweight system processes) and asyncio, explicit and quite so different.

Go has special handling for cpu-bound and io-bound goroutines, transparent to the user.

How would someone use `gopy` to interface go's amazing `net/http` module or some go package that wraps it? As in, how should Python code look like to benefit from go's concurrency?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.