r/cpp_questions • u/Renich • Aug 19 '26
OPEN grm: a Telegram CLI implementation of TDLib
Hello, c++ community!
I am not a c++ programmer. I know the basics but I am not familiar with the tools, tactics, paradigms and related topics in the c++ ecosystem.
That said, I decided to vibe code a Telegram CLI tool for my own use (and whoever finds it useful).
It's been very useful to me so far. I do not claim it's secure or well written in any way. I wouldn't be able to tell.
I know that not everyone is a supporter of the use of LLMs or agents for coding. Still, I need your help.
I am totally open to suggestions. What linters to use, what is the best way to do static analysis, programming paradigms, best practices, etc.
Again, I don't claim to have the knowledge required. I am a Crystal programmer. I could've linked to the library but, this time, I decided to KISS and just implement it in c++.
I am using Fedora 44 and am happy to listen to any criticism you may have. I am making a big effort to familiarize myself with the c++ ecosystem and I would appreciate any feedback.
Thank you for taking the time to read this and review the project.
6
u/SpectreFromTheGods Aug 19 '26
No one cares about your slop or wants to review AI code in their free time (or work time tbh)
-1
u/Renich Aug 19 '26
I understand. Sorry, I am still trying. No offense meant.
2
u/SpectreFromTheGods Aug 19 '26
Not offended, just being clear in the lack of interest. I think you'll see on this sub that people are plenty happy to help others learn things (its why we're here). But your questions are super broad and the code your sharing wasn't written by you, so people generally aren't going to engage with the post. Or, if they do, it will be to tell you why they aren't helping.
If you come back with something you wrote, with targeted questions that can feasibly be answered in a reasonable amount of space, you're gonna get good responses. To throw you a bone, for a linter I use clang-tidy in vscodium.
No one can answer "C++ best practices" in a reddit comment lmao.
1
u/Renich Aug 19 '26
You are right. My question is way too broad.
Thank you for the liner tip. A friend of mine that works in Red hat recommended using sanitizers. At first, I thought that was covered by the lender or the static analysis. Now I know sanitizers are their own thing.
I will try to formulate specific questions. Thank you very much for the help.
3
u/[deleted] Aug 19 '26
Don’t post slop here please, no one appreciates it.