Ask your boss if it would be better if you used C ++.
- Remind him of the maintenance of the code, and with C ++ you can introduce fewer errors at a price of slightly lower speed.
- Remind him that the “time” necessary to fix or improve the software is “included” in the “runtime” - the time when you will have services, due to a small error.
And try fastcgi ++ . You also have boost and other libraries that can help you make boring stuff faster and focus on WHAT MATTERS.
And if the application performs a lot of calculations, it is recommended to do it in C / C ++.
- Otherwise, remind your boss that, as a rule, regardless of the language, the application will not be slowed down by calculations, and “waiting for resources” - waiting for a disk or waiting for a database are the most common, which happens regardless of language.
- Remind your boss that for speed you can get a 10-60% improvement using apc .
If he just doesn’t want, you have two options:
- quit assignment
- do as he asks you
Why C ++, not C
It is true that with good coding conventions, you can also write managed code in C.
But with C, you still have the verbosity of error handling, as opposed to exceptions, zero-terminated strings, cards, or whatever. I love C far more than C ++, but let him take a look: this is not about the language, but about the mentality of the despot (boss), who needs to deal with arguments and learn to listen to his employees.
source share