Sunday

C++23 (or C++2b), C++ 2023, Cpp 2023, g++ 2023

Subject: C++ 2023

5
Code example for hello world

import std;
int main()
{
    std::println("Hello, World!");
}



4
Approximate feature suggestions:
- to complete C++20 or C++ 2020
- new modules: std and std.compat, import std library, import std module
- new headers <print>, <mdspan>, <expected>, <flat_map>, <flat_set>, <generator>, <spanstream>,   <stacktrace>, <stdfloat>
- deducing this
- header from C: <stdatomic.h>
- std::format() improvements
- library support for coroutines
- executors and networking
- static reflection
- pattern matching
- C++23 core language features: if consteval
- C++23 library features: <flat_map>, <flat_set>


3
C++23 changes the way we write code


2
abbreviations

A = Architectural ideas
DR = Defect Report
E = Error handling
GSL = Guidelines Support Library
NL = Naming and Layout suggestions
NR = Non-Rules and myths
Per = Performance
R = Resource management
RF = ReFerences
SL = the Standard Library


1
Web links, references

Wandbox, online C++ compiler
https://wandbox.org/

Coliru is short for compile, link and run, online C++ compiler
https://coliru.stacked-crooked.com/

C++ status, C++ roadmap
https://isocpp.org/std/status

C++23 cppreference
https://en.cppreference.com/w/cpp/23

C++23 Wikipedia
https://en.wikipedia.org/wiki/C%2B%2B23

C++23 Handwiki
https://handwiki.org/wiki/C%2B%2B23

C++ Core Guidelines
https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines

a list of open source C++ libraries
https://en.cppreference.com/w/cpp/links/libs

C++ Conference or CppCon
https://cppcon.org/

No comments:

Measure execution time with Julia, example using sorting algorithms

# random integers between 1 and 100 inclusive, generate thousands of them x = rand ( 1 : 100 , 100000 ) @time sort (x; alg=InsertionSort, r...