go-python / go-python/gpython

gPython's Killer App: Avoiding AsyncIO, but using Python Libraries

Open
#135 7 comments 1 reaction 0 assignees View on GitHub
Dominant language
Go
Stars
1k
Forks
105
PR merge metrics
No merged PRs in 30d

Description

For a long time I have been interested in gPython. GoLang’s CSP just seems so easy to use compared to Python’s Asyincio ( coroutines). But Python has so many great libraries. They would be great together. Finally I found a mainstream application for this approach. A Discord bot.

So I brought up my first discord bot in Python quite painlessly. But it keeps crashing. Completely incomprehensible error message, let alone figuring out how all of this asyncio stuff works. I just want it to be easy to program. I could fight it, but better to put that energy into something constructive.

Sure, gPython is slower than cPython. I do not care. This is not a high traffic site. And if it ever does become a high traffic site, I can migrate it fully to golang. I just want it to be easy to program and debug.

I kind of like the idea of doing the primary message server in Go, and deciding which messages need extra processing, and doing that in Python. They do not even have to send a message back to Go, just call the discord web hook.

And of course Discord is a hot platform, which would help make this a hot technology.

What do you think about this idea?

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.