casey / casey/x-serialization-format

Warn that x gives users a lot of freedom

Open
#134 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
1
Forks
1
PR merge metrics
No merged PRs in 30d

Description

Ability to carefully choose layout is a double edged sword. Layout can be optimized for performance, but inflexible layouts will be difficult to evolve. Unless you're sure, stick to flexible enums and tables, and remember that flexible enums don't allow adding or removing variant fields, only variants. For maximum flexibility, make enum variants just contain a table.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.