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

Research direction

The issue names gopy and Go's net/http, but no files or tests. Start by reviewing gopy's existing documentation and the generated CPython extension behavior, then determine how a Python caller would use a Go package with concurrency. Done means the documentation explains the Python/Go concurrency bridge and shows how to use a package such as net/http.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, python
Domain
documentation
Issue type
Documentation
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.