Components 2020 aka ECS
I have just realized there is an “Entity component system” architecture in full swing these days. I very often use gaming development as the proof something works or does not work in reality.
To me, ECS is very encouraging proof that best application architectures are constantly repeating the same overarching theme: Components. Often independently of each other.
Then I remembered I did this Java Script component-based idea 10 years ago, Interesting. Read on. Continue reading “Moment := micro + component”
Update 2020 FEB
We are after yet another WG21 milestone. C++20 is done.
Here is my succinct message. Regardless of OS, there is no legal way to output u8, string or char. Lets try
// what are the formatting chars to be used bellow?
printf("%" WG21_DECISION_HERE ", u8"ひらがな"); // char8_t *
printf("%" WG21_DECISION_HERE ", u8'ひ'); // char8_t
// iostream not-a-solution is simple, it is forbiden in C++20
// to stream out char8_t or char8_t *
For “no decision yet”, WG21 is “blaming” WG14 … thus few more short years and the world will have formating char for UTF8, from C/C++ that is. I am also puzzled, why making
char8_t a keyword and then not implementing a support for it?
Continue reading “C++20 — char8_t, the quantum type”
Naming is hard. This is largely about naming. Ditto, what might
std::exchange do? Continue reading “c++ the commitee naming — std::exchange”
std::swap is quite fundamental. And fundamentally glanced over by you too :) Which is a pity, because understanding
std::swap concept fully, will make you more clear on many other important programming concepts. And not just in C++.
Continue reading “C++ the good parts — std::swap”
At the present date and using Chrome version 80. The situation is this: Continue reading “JSON: How to create an undefined value or an NaN value?”