Remove c
article thumbnail

C++ safety, in context

Sutter's Mill

To talk about C++’s current safety problems and solutions well, I need to include the context of the broad landscape of security and safety threats facing all software. tl;dr: I don’t want C++ to limit what I can express efficiently. tl;dr: I don’t want C++ to limit what I can express efficiently. issues with C++.

C++ 139
article thumbnail

Trip report: Summer ISO C++ standards meeting (Cologne)

Sutter's Mill

Obligatory comment: The C++20 Eagle has wings. At noon today, July 20 2019, the ISO C++ committee completed its summer meeting in Cologne, Germany, hosted with thanks by Think-Cell, SIGS Datacom, SimuNova, Silexica, Meeting C++, Josuttis Eckstein, Xara, Volker Dörr, Mike Spertus, and the Standard C++ Foundation.

C++ 98
Insiders

Sign Up for our Newsletter

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Trending Sources

article thumbnail

Effective Concurrency: Live online course in April

Sutter's Mill

I generally give one or two courses a year on C++ and related technologies. Because “high-performance low-latency” is kind of C++’s bailiwick, and because it’s my course, you’ll be unsurprised to learn that the topics and code focus on C++ and include coverage of modern C++17/20/23 features.

C++ 40
article thumbnail

Additional T-SQL Improvements in SQL Server 2022

SQL Performance

One of the complexities that is of a specific importance to this section is comparisons that potentially involve NULL comparands, such as ones that you use in filter and join predicates. Most operators that you use in such comparisons, including the equals (=) and different than (<>) operators, use three-valued logic.

Servers 142
article thumbnail

NULL complexities – Part 3, Missing standard features and T-SQL alternatives

SQL Performance

In Part 1 I covered the meaning of the NULL marker and how it behaves in comparisons. In Part 1 in the series I explained how NULLs behave in comparisons and the complexities around the three-valued predicate logic that SQL and T-SQL employ. Often in practice you want NULLs to behave just like non-NULL values for comparison purposes.

C++ 120
article thumbnail

MariaDB vs MySQL: Key Differences and Use Cases

Percona

In this blog, we’ll provide a comparison between MariaDB vs. MySQL (including Percona Server for MySQL ). In addition, there are fewer resources, plugins, libraries, third-party tools, and sources of support available than for other, more established database systems. Get the reliable MySQL support you need.

article thumbnail

GotW #102 Solution: Assertions and “UB” (Difficulty: 7/10)

Sutter's Mill

Briefly, what is the difference among: (a) undefined behavior Undefined behavior is what happens when your program tries to do something whose meaning is not defined at all in the C++ standard language or library (illegal code and/or data). You’ll get some valid result, but you won’t know what the result is until your code looks at it.

C++ 54