DEV Community

Karthik Subbiramani
Karthik Subbiramani

Posted on

C++ : Compile Time Errors

I read through many articles and watched many youtube videos about C++ problems, many of them complained about this language by had comparision with Rust. People complained more about memory safety, error messages and run time errors.

As my understanding i also faced errors at runtime not in compile time while learning c++ and also those criticism(memory safety, error messages and run time errors) about c++ is compilers or the language itself don't throw proper errors/error messages at compile time.

My Questions are,

Is the compile time errors are the answer for all the mentioned criticism about c++?.

Can C++ developers make compilers throws errors at compile time? or is it really has any problems in the compilers or ISO standards?. I don't really understand this.
Enter fullscreen mode Exit fullscreen mode

I am eager to wait to read all of your opinions about this.

Top comments (0)

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay