We can't find the internet
Attempting to reconnect
Something went wrong!
Attempting to reconnect
Layout practice problems in Rust
Difficulty:
Category:
Tag:
Showing 6 of 6
| Status | Title | Difficulty | Category | Tags |
|---|---|---|---|---|
| `large_enum_variant`: boxing the fat variant | Medium | Primitives |
|
|
| Memory layout and cache behaviour: flat arrays, AoS vs SoA | Medium | End-to-End |
|
|
| repr(C): computing struct layout by hand | Medium | Primitives |
|
|
| repr(Rust) reorders your fields — and that's the point | Medium | Primitives |
|
|
| Stack, heap, and what a variable actually holds | Easy | Primitives |
|
|
| Type sizes, enum layout and niche optimisation | Medium | Primitives |
|