
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Such people are weirdos. Such eggheads fight the compiler like a windmill without understanding the main thing: the compiler is your ally! Rejoice when the compiler swears at potentially unsafe code fragments. Rejoice even if the application crashes right after launch with an error string. But God forbid that you get an unmanageable code when there are no errors or warnings and the program seems to work well but every now and then strange glitches occur whose cause cannot be tracked anywhere. At such moments you get vapid and start dreaming about errors like "invalid pointer" or "division by zero".
It turns out that a compiler is not the same as a compiler. Here, Intel's C/C++ compiler is an ally. You want remarks, you're welcome. If you don't want any, no problem. If you want to disable some remarks, just name them.
But there are other compilers. Some of them are "whatever you want".
It's appropriate to rejoice when the compiler is an ally, when it 'listens'. And also when it manages to refrain from creating unmanageable code. Then thoughts of such bizarre dreams won't even cross your mind.
Again, professional programmers usually don't look at warnings because they know the logic of the compiler and compilers are useless for testing code functionality.
I understand that some people will get hysterical after getting acquainted with static analyzers.
But only after that some understand what a compiler must (exactly must) do. It's 2014 and ordinary compilers are at least 10 years behind in quality control and concentrate only on optimizations.
For information: the Intel C++ compiler is still recovering from its defects - it constantly generates internal compiler errors on our projects. That is, it doesn't chew large projects and produces its own errors. And the myths about its extraordinary optimizing properties are outdated too - all the rest have tightened their optimization levels greatly.
In such a dangerous and suicidal language as C++, so many keys and compilation switches are given for confident programmers to compile tons of ancient and copied from nowhere code without nervous cramps :)
...
Again, professional programmers don't usually look at warnings...
Into the annals!!!
Can you recommend an environment, compiler and settings for optimal writing (speed/optimisation + error detection, etc.) of C++ and other languages?
Visual Studio how?
I've tried it, it's fine. But I have nothing to compare it with. I would like to program on an optimal infrastructure.
My programs are small, rarely source code exceeds a hundred kilobytes. I would like a recommendation for such amateur versions. I'm not talking about large projects.
Can you recommend environment, compiler and settings for optimal writing (speed/optimization + error detection, etc.) programs in C++ and other languages?
Recommended for professional development: