Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
tialaramex
2y ago
0 comments
Save
Share
That's the (nightly) Allocator::allocate, but the API we were looking at is (stable) GlobalAlloc::alloc
Yes I'm aware that I can ask how long a slice is.
0 comments
1 comments · 1 top-level
top
newest
oldest
pitaj
2y ago
Ah gotcha. Yeah `GlobalAlloc` is known to be non-ideal. Hopefully we can get a better API soon.
j
/
k
navigate · click thread line to collapse