C++ DBJ Error Concept, at last

Approximately 6 months ago I posted to Reddit. Under the title:

Decades have passed, standard C++ has no agreed and standard error handling concept.

That got attention and some important folks from the C+++ universe also chimmed in. More or less all approving.

I obviously had to show some code. No pressure there. Continue reading “C++ DBJ Error Concept, at last”

c++ metacall()()()™

paradigm-shift-2
A paradigm shift (or revolutionary science) is, according to Thomas Kuhn, in his influential book The Structure of Scientific Revolutions (1962), a change in the basic assumptions, or paradigms, within the ruling theory of science. It is in contrast to his idea of normal science.

metacall series

metacall()()()™

metacall broadly means: “call of calls”

Part 3 : C++ Binding

It is not attached to any programing language, yet metacall as a concept is born (and bred) in the domain of type-less JavaScript.  Slight difficulty is that good old/new/standard C++, is one strongly typed language. In english: types are everything.

Also, C++ is  compiled language, vs dynamic (interpreted) JavaScript. metaclass is already implmented in C#. And conceptualy, as far as types are concerned, C# is somewhere in between, (but not in the middle !) even in it’s latest reincarnation.

Still I think metacall must be implemented in C++ too. Let’s jump into the deep.
Continue reading “c++ metacall()()()™”