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.

A Usable C++ Dialect that is Safe Against Memory Corruption

March 14, 2018 by “No Bugs” Bunny

Memory-Safe C++

Quote:

we DID get a perfectly usable C++ dialect which is also 100% safe against memory corruption and against memory leaks.

Another Quote:

we can (and often SHOULD) have different approaches to safety of the Reactor::react() and the rest of the code.

Filed under: On.ProgrammingProgramming Languages

Read more

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