Standard library: Memory allocation #5

Closed
opened 2025-08-07 13:01:04 +00:00 by ed · 1 comment
Owner

We need to implement mem.alloc and mem.free for low-level access to system memory.

The initial implementation will be "unmanaged", that means we're directly returning an mmap region.
Future versions doing a full implementation of a managed memory allocator are not tracked by this issue.

We need to implement `mem.alloc` and `mem.free` for low-level access to system memory. The initial implementation will be "unmanaged", that means we're directly returning an `mmap` region. Future versions doing a full implementation of a managed memory allocator are not tracked by this issue.
Author
Owner

Implemented in 2e904095e7.

Implemented in https://git.urbach.dev/cli/q/commit/2e904095e7db075d810948be1b8b968394ea89f2.
ed closed this issue 2025-08-13 19:12:04 +00:00
ed added spent time 2025-08-13 19:13:10 +00:00
2 hours
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Total time spent: 2 hours
ed
2 hours
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
cli/q#5
No description provided.