notes/software/Rewriting TS.md

15 lines
1.3 KiB
Markdown
Raw Normal View History

2023-03-10 22:30:33 +00:00
2023-03-10 22:37:33 +00:00
TS is currently written in Python, depending on a technically EOL version of the discord.py library. It has grown to a massive scale, and provides all of the functionality that is critical for the server, but has some downsides.
2023-03-10 22:38:33 +00:00
- The codebase is not documented very well, which makes changes to the core system difficult.
2023-03-10 22:39:34 +00:00
- Python suffers from performance issues that have proven be meaningful at the scale of the server (they have been addressed)
2023-03-10 22:40:33 +00:00
- The migration to a new discord.py version is proving to be extremely troublesome
2023-03-10 22:41:33 +00:00
However, sticking with the system we currently definitely offers some pros:
2023-03-10 22:44:34 +00:00
- It functions and is largely bug free, proving stable enough for our use case, with the reliability proving to be mostly dependent on the host.
2023-03-10 22:43:34 +00:00
- Eff is contributing, however the level at which he will end up contributing to the project is uncertain
2023-03-10 22:44:34 +00:00
- Once totally 'cleaned up', sticking with TS may be perfectly acceptable
Rewriting TS offers some pros:
2023-03-10 22:45:34 +00:00
- We can document it as we go and decide on design patterns and practices to stick to before implementation begins
- We evaluate the scale that TS needs to fit, and design according to that
2023-03-10 22:46:34 +00:00
- We can switch to a language that may prove to be more performant/versatile, should we decide discord.py and python are not the best tool for our needs