42 karma · joined Jul 6, 2010 (16y ago) · 16 submissions
comment 16y ago · link · parent
Good luck doing that for "FTP, SSH, whatever"
comment 16y ago · link · parent
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.
comment 16y ago · link · parent
comment 16y ago · link · parent
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.
comment 16y ago · link · parent
comment 16y ago · link · parent
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.
comment 16y ago · link · parent
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.