nix-super/doc/manual/src
John Ericson 469d06f9bc Split out worker protocol template definitions from declarations
This is generally a fine practice: Putting implementations in headers
makes them harder to read and slows compilation. Unfortunately it is
necessary for templates, but we can ameliorate that by putting them in a
separate header. Only files which need to instantiate those templates
will need to include the header with the implementation; the rest can
just include the declaration.

This is now documenting in the contributing guide.

Also, it just happens that these polymorphic serializers are the
protocol agnostic ones. (Worker and serve protocol have the same logic
for these container types.) This means by doing this general template
cleanup, we are also getting a head start on better indicating which
code is protocol-specific and which code is shared between protocols.
2023-06-19 11:45:59 -04:00
..
advanced-topics rewrap lines to use one line per sentence 2023-05-31 01:32:03 +02:00
architecture Add description for file system objects (#8500) 2023-06-18 23:45:08 -04:00
command-ref Improve nix-collect-garbage docs 2023-06-14 19:01:08 -04:00
contributing Split out worker protocol template definitions from declarations 2023-06-19 11:45:59 -04:00
figures Move figures 2020-07-24 12:58:31 +02:00
installation nix actually needs c++20 now 2023-06-10 13:56:05 +02:00
language make domain-specificity more specific 2023-06-15 03:08:07 +02:00
package-management Convert short nix options to long ones 2023-05-17 08:10:30 +01:00
protocols Apply suggestions from code review 2023-06-16 16:48:37 +02:00
release-notes Add a release note for nix-channel --list-generations 2023-06-02 10:14:53 +02:00
glossary.md Add description for file system objects (#8500) 2023-06-18 23:45:08 -04:00
introduction.md Convert short nix options to long ones 2023-05-17 08:10:30 +01:00
quick-start.md Update doc/manual/src/quick-start.md 2023-02-19 20:00:02 -05:00
SUMMARY.md.in Split out worker protocol template definitions from declarations 2023-06-19 11:45:59 -04:00