Message from C, C++ discussions

November 2019

— Can you provide an example?

— 

You will not run into problems with 25 lines of codes, but if you have 25k line of code, uninitialized memory you expect to be initialized will hurt you back

— I have 10 classes each in separate file

— Is it necessary to use pragma once?

— Any proofs?

— Justfuckinggoogleit.com

— Learn some manners, dude
https://en.wikipedia.org/wiki/Burden_of_proof_(philosophy)

— This is not how this works, both languages compile to assembly, it is really up to the compiler to do the job on optimization

Message permanent page

— Fact is, if you got a significant more efficient algorithm to solve a certain problem, it will impact your performance way more than "using c or c++"

Message permanent page

— Oh that's a good point

— This is completely false, from all the tests I could perform, C and C++ performance are comparable, and are all the more comparable in the freestanding implementation of both of them (meaning that compared to the hosted implementation, it has a lower (inexistant) variance of performance)

Message permanent page

— Sorry for my question, I want to open a file and write on with C++, but the file is in a folder protected by password, any ideas?

Message permanent page