Skip to content

Representation of tuples #12

Closed
Closed
@nikomatsakis

Description

@nikomatsakis

Discussing how tuples are laid out.

  • Is tuple layout equivalent to some corresponding struct? If so, what struct exactly?
    • that struct definition might in turn have undefined layout, of course

Some things that might be useful if they were defined:

  • Is it possible to inter-convert a (T, T, ..., T) tuple with a [T; N] memory representation?

Metadata

Metadata

Assignees

Labels

A-layoutTopic: Related to data structure layout (`#[repr]`)S-writeup-assignedStatus: Ready for a writeup and someone is assigned to it

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions