It's the front tier of my code generator. It sends a message
to the middle tier and waits for a reply.
> Why "::exit(EXIT_SUCCESS);" is better than "return EXIT_SUCCESS;"
> in main()?
> Also I would manually inline the "leave" since its name
> and all the missing comments hide that it was a failure.
Leave is called in a number of places. Not sure of a better name.
That line is tough, but at least the variable's scope is limited.
> 60 lines feels bit too long for a conversion constructor. Is
> ambassador destructively constructing itself into that
> "config"? Or why else conversion constructor has a mutable
> parameter?
That constructor used to be over 100 lines. It's the biggest
function by far in the program. I used to wonder if that
function would ever get better. Wrestling with it has paid
off. I think the parameter used to be const. I'll consider
making it const again.
>
> > If you have suggestions on how to improve things, please
> > let me know.
>
> Unsure. Does it have some benefits over Protobufs, Flatbuffers, Cereal,
> Cap'n Proto, Bond, Apache Avro, Thrift, MessagePack etc etc?
>
> With every other serialization library it takes about 15 minutes from
> downloading or cloning to get something to work with no any external
> aid needed. Here it is building some kind of 4 executables that are
> needed to be registered somewhere even to try.
Only 2 executables are needed. They are the ones I linked to
above. The other two are example programs. I'm happy to
give demos of the software. The first step is to download the
repo and build it. Yes, after that, you need a little help
from me. The example programs can be run without an account.
Brian
Ebenezer Enterprises
https://github.com/Ebenezer-group/onwards