There will be fight XD. I want to choose my primary language and i want to be compiled and low level. On C i like that is so simple but Some things like Qt isn’t here and for example there is no normal print only prinf but that is shit because its formating and scanf is not very safe. So in C++ There is cout, cin and Strings and so much good things but it’s bloat. I don’t want OOP or idk what else.
When you say bloat, what is the concern here? Are you targeting an embedded environment or something? Bear in mind that C++ compilers can handle C code pretty well. All the C standard library is still available, and you could write in some sort of hybrid that’s 90% C with a bit of C++ brought in where needed. Wouldn’t be my preference personally, but it could work.
And you say you want Qt but don’t want OOP. GUI programming is the quintessential use case for OOP, so I’m not sure where you’re going with that.
Some people write C++ as if it was C, with just a few features like operator overloading from C++. You don’t have to use the OOP stuff in c++.
True but it compiles slower… Actualy good point there isn’t any perfect language if i don’t want to fork it (and then its questionable) so… this is so far best advice thank you.
there isn’t any perfect language
We have a perfect language designed by God himself: Rust
You misspelled HolyC
Use the language that’s best for what you’re working on. Which might not be C or C++. I personally haven’t used C since university, but if it works for what you’re making, use it.
Why would you bring up the lack of Qt in C and then say you don’t want OOP anyway. I’m not sure what you’d have against OOP except maybe you don’t understand it yet and you read some bullshit somewhere about it being the worst thing in programming. Whatever, stick to functions then. I’m sure everything will stay nice and clean and simple that way.
You don’t have to use all the “bloat” if you don’t want to. printf is unsafe? Then write your own, or I dunno, write a wrapper for it that makes it safe. Careful you don’t make it too “bloaty”, whatever the fuck that might mean.
Stop trying to be edgy and just code what you want to code.
Yeah, its good to write things in languages what are good in that like web app in go or driver in C but if it wasn’t clear i’am looking for something like this is good idea i want to try it myself or something like that. If i want to code something small i don’t want to think if it’s better in python or golang…
What types of projects are you planning to work on?
Idk something like cli tools or maybe somthing like emulator just general low level stuff
CLI is generally a more involved process with these languages than something like python for example, but its doable and fun. For TUIs theres ncurses, and Ive actually made a wrapper library around it to make developing dynamic TUIs easier. I would recommend C personally as its a lot simpler to learn in my opinion than C++ simply because C++ has too many features crammed in.
C is good for lower-level stuff. There’s a lot you can do with C, and you could always move over to C++ later if you decide you want certain features at some point.
But I’d start by considering a compelling project before choosing a language. It’s more important to be working on something you care about that the language itself.
Here’s an example of a TUI I wrote in C:
Yeah i used c for week or two but i’am not sure if i like it.
C and C++ are obsolete. Pick a modern safe language instead.
Like Rust right? xd
Rust is excellent, as is go. There are others but they’re a bit less common.
Yes that was just stupid joke because of rust boom
So obsolete they still work fine 🤷♂️
No, they don’t.






