gPython's Killer App: Avoiding AsyncIO, but using Python Libraries
- Ngôn ngữ chính
- Go
- Star
- 1k
- Fork
- 105
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
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?
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Đánh giá
Issue này chưa được đánh giá.