Settings

Theme

Mutably Tagged Types with Size'Class Aspect

gcc.gnu.org

2 points by LiamPowell 2 months ago · 1 comment

Reader

LiamPowellOP 2 months ago

TLDR: You can define a maximum size of any child classes as a property of the parent class, meaning you can have things like arrays of arbitrary child types without having to know all the possible child types in advance and without using pointers.

After some Googling it seems like no other language has implemented a similar feature before, which is surprising with how simple and useful this appears to be for embedded applications.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection