feat: add size argument to array type #43

Closed
opened 2026-07-03 16:21:24 +00:00 by CHatingPython · 1 comment
Owner

Add size argument to array type (0 = dynamic).
Static arrays should allocate only space for the items, while dynamic arrays should have a pointer to the items and size instead.
This change should benefit FFI and the VM generally.

Add size argument to array type (0 = dynamic). Static arrays should allocate only space for the items, while dynamic arrays should have a pointer to the items and size instead. This change should benefit FFI and the VM generally.
CHatingPython added this to the furvm project 2026-07-03 16:21:24 +00:00
CHatingPython added the Kind/Enhancement
Priority
Medium
3
labels 2026-07-03 16:21:40 +00:00
CHatingPython added this to the v0.6.7 milestone 2026-07-03 16:21:42 +00:00
CHatingPython self-assigned this 2026-07-03 16:21:43 +00:00
CHatingPython moved this to To Do in furvm on 2026-07-03 16:21:58 +00:00
Author
Owner

Instruction pointerof for dynamic arrays should return the thing's data pointer rather than the array's.

Instruction `pointerof` for dynamic arrays should return the thing's data pointer rather than the array's.
CHatingPython moved this to In Progress in furvm on 2026-07-05 20:40:58 +00:00
CHatingPython moved this to Done in furvm on 2026-07-05 21:16:06 +00:00
Sign in to join this conversation.