42 karma · joined July 6, 2010
E.W. Dijkstra: Actual computer scientist.
Good luck doing that for "FTP, SSH, whatever"
However, for simple types like int and float, there's no performance advantage to passing the value as a reference. It generally takes as long to construct the temporary reference as it does to copy the value.
For more complex types like structures or objects, then yeah, you're better off passing by reference.
However, building the library set and examples and tests is a one-time cost for the non-header-only libraries. And you don't need to compile the examples or the tests. Or the various debug-release combinations.
Plus, why wouldn't you cross-compile, anyway? I do lots of embedded sensor work and I wouldn't think of compiling anything directly on the hardware itself.
It's used to build kernels because it doesn't require multiples of the needed RAM in order for the memory management to be timely.
I can do it with jargon you already understand, for example,
The totality of the colour blue is the sum of all of the integrals from one meta-point to another meta-point, formed in to spherical husk that can be opened by neither being within or without.
Even though those words are all well-established with their meaning, they are nonsense when strung together.