Skip to content

Ideas to make the serialization format easier to understand. #12

Description

@blep

Here are some ideas to make the serialization format easier to understand.

While I don't have a need for the library at the current time, I was interested in understanding how this serialization format worked.
But the spec is fairly abstract.

Since, I've been playing with Google Antigravity lately to find where it is useful, I decided to throw it at the project to see if it could produce the doc I want, and with many iterations produced what I wanted:

To understand how b-tree split and all data types worked, so made Antigravity generate a new example and explain its output:

WARNING: I didn't check every 1900 bytes of the explanation. But I checked a few parts which seems okay. Helped me understand splitting, and how nested object/array where handled.

I believe Antigravity was using the following Python script hexdump_to_doc_skeleton.py to write example 8 explanation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions