Programming Languages

The choice of programming language for your Next Big Project can be difficult. Even worse, it can seem easy… when it is not. On the one hand, strictly speaking, you can write any program in any of Turing-complete languages. On the other hand, that doesn’t mean it will be easy. In fact, writing a program in a poorly suitable programming language could be extremely difficult.

C++: Thoughts on Dealing with Signed/Unsigned Mismatch

March 6, 2018 by “No Bugs” Bunny

-1 ></a> 0U

Quote:

we’re just narrowly avoiding a disaster without understanding how close we were

Another Quote:

there is a chance that intuitive::lt MIGHT be a good thing to make behaviour of our C++ code to correspond better to our-expectations-when-we’re-reading-it

Filed under: On.ProgrammingTips and TricksProgramming LanguagesOptimizations

Tagged With: C/C++GCC/Clang
Read more

How to Report C++ Compiler Bugs

February 27, 2018 by “No Bugs” Bunny

bug hunting

Quote:

the bug MUST be reproducible

Another Quote:

did you know that in a case of a signed integer overflow, compiler is allowed to generate code which formats your hard drive?

Filed under: On.ProgrammingProgramming LanguagesOtherReports

Tagged With: C/C++GCC/ClangMSVC
Read more

C++17 Compiler Bug Hunt: Very First Results (12 bugs reported, 3 already fixed)

February 20, 2018 by “No Bugs” Bunny

BB_part143_BookChapter20a_v1-640x427.png

Quote:

Hey, if all I have is lemons – I have no choice but to make lemonade out of them!

Another Quote:

if reproducible serious bugs are ignored for many months, it indicates one of three possibilities

Filed under: On.ProgrammingProgramming LanguagesOtherReports

Read more

(Not Really So) New Niche for C++: Browser!?

August 1, 2017 by “No Bugs” Bunny

C++ in Browser

Quote:

asm.js has invented its own instruction set, which can be still seen as an instruction set of a CPU, at least from the point of view of a C++ compiler.

Another Quote:

As asm.js is a strict subset of JavaScript – it will run even if there is no special support for asm.js in browser.

Filed under: On.ProgrammingProgramming Languages

Read more