Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
ObscureScience
2y ago
0 comments
Save
Share
As Zig promises "not hidden allocation", I assume you can build your allocator in Rust and then use it for all memory allocation in Zig.
0 comments
1 comments · 1 top-level
top
newest
oldest
lmm
2y ago
A function that doesn't allocate doesn't mean it's safe. (Indeed if anything the opposite is more likely - copying is safe, if slow, writing to something that was passed in tends to be what breaks).
j
/
k
navigate · click thread line to collapse