From 4e1ef1b40ced7bbb78b6882018ccd1a00ffa4895 Mon Sep 17 00:00:00 2001 From: Claudius 'keldu' Holeksa Date: Tue, 27 Aug 2024 19:23:10 +0200 Subject: Unfinished intro to codec --- docs/source/codec/introduction.rst | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 docs/source/codec/introduction.rst diff --git a/docs/source/codec/introduction.rst b/docs/source/codec/introduction.rst new file mode 100644 index 0000000..8cda2ac --- /dev/null +++ b/docs/source/codec/introduction.rst @@ -0,0 +1,12 @@ +Introduction +============ + +The codec module provides basic functionality and is in fact a vital component for almost all other modules. +It's the module which provides the separation of logical structure and encoding of data. + +I am not aware of any programming languages which provide compile time separation of those concerns. +For the less powerful compile time reflection capabilities there's limited support in some languages. +C++26, regular C++ and Rust with minor additional hints etc come to mind. But this is only on native data. + +The separation enables treating data purely declaretively instead of imperative actions when moving it across encoding boundaries. +A regular file has the structure -- cgit v1.2.3