go-python / go-python/gpython

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

Offen
#135 7 Kommentare 1 Reaktion 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Go
Sterne
1k
Forks
105
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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?

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.