Stream: ideas

Topic: basic-cli Task.withArenaAlloc


view this post on Zulip Anton (Aug 21 2023 at 09:52):

An issue was made on the basic-cli repo that suggested the addition of Task.withArenaAlloc. That function would allow you to execute a task where all memory allocations are done using arena allocation. This would allow for faster execution in certain scenarios e.g batch processing of data.

While we've talked about supporting functionality like this with roc, it seems out of scope for basic-cli. I want all of basic-cli to be super reliable across all architectures and operating systems supported by roc. Allowing multiple ways of memory allocation seems like it would make that task a lot harder.

I could definitely see something like Task.withArenaAlloc be added in a future industrial-cli though.

Anyway, I wanted to check with you all before I closed the issue.

view this post on Zulip Richard Feldman (Aug 21 2023 at 10:28):

I agree with closing it :+1:


Last updated: Jun 16 2026 at 16:19 UTC